parse-options.h: OPTION_{BIT,SET_INT} do not store pointer to defval
authorIvan Ukhov <ivan.ukhov@gmail.com>
Sun, 29 Mar 2015 08:32:55 +0000 (10:32 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Mar 2015 02:56:12 +0000 (19:56 -0700)
When 20d1c652 (parse-options: remove unused OPT_SET_PTR, 2014-03-30)
removed OPT_SET_PTR, the comment in the header that describes what
the option did to defval field was left behind by mistake. Remove
it.

Signed-off-by: Ivan Ukhov <ivan.ukhov@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
parse-options.h
index dd46f884226bcc675ff796b64585c3f17fc60fd2..6d19abd3acfc0a726c76297d2494bd8a53f9b9f2 100644 (file)
@@ -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 {