OPTION_BIT and OPTION_SET_INT do not store pointers in defval.
Signed-off-by: Ivan Ukhov <[email protected]>
---
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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html