* [PATCH v2] parse-options: fix the description of defval
@ 2015-03-29 18:33 Ivan Ukhov
0 siblings, 0 replies; only message in thread
From: Ivan Ukhov @ 2015-03-29 18:33 UTC (permalink / raw)
To: Git List
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-03-29 18:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-29 18:33 [PATCH v2] parse-options: fix the description of defval Ivan Ukhov
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).