From: Ivan Ukhov <ivan.ukhov@gmail.com>
To: Git List <git@vger.kernel.org>
Subject: [PATCH v2] parse-options: fix the description of defval
Date: Sun, 29 Mar 2015 20:33:21 +0200 [thread overview]
Message-ID: <1C828CFA-F4EA-44D6-98F7-3F5F32D74621@gmail.com> (raw)
OPTION_BIT and OPTION_SET_INT do not store pointers in defval.
Signed-off-by: Ivan Ukhov <ivan.ukhov@gmail.com>
---
parse-options.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/parse-options.h b/parse-options.h
index 7940bc7..c71e9da 100644
--- a/parse-options.h
+++ b/parse-options.h
@@ -95,8 +95,7 @@ typedef int parse_opt_ll_cb(struct parse_opt_ctx_t *ctx,
*
* `defval`::
* default value to fill (*->value) with for PARSE_OPT_OPTARG.
- * OPTION_{BIT,SET_INT} store the {mask,integer,pointer} to put in
- * the value when met.
+ * OPTION_{BIT,SET_INT} store the {mask,integer} to put in the value when met.
* CALLBACKS can use it like they want.
*/
struct option {
--
2.3.4
reply other threads:[~2015-03-29 18:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1C828CFA-F4EA-44D6-98F7-3F5F32D74621@gmail.com \
--to=ivan.ukhov@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).