summaryrefslogtreecommitdiff
path: root/parse-options.h
diff options
context:
space:
mode:
authorLibravatar Ivan Ukhov <ivan.ukhov@gmail.com>2015-03-29 10:32:55 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-03-29 19:56:12 -0700
commitd3c0811467153d3bf1732fef94530e5b0e7cdddf (patch)
tree665d0a81cf8e0e0b3acb63e180c6e9d5b1e92468 /parse-options.h
parentparse-options: remove unused OPT_SET_PTR (diff)
downloadtgif-d3c0811467153d3bf1732fef94530e5b0e7cdddf.tar.xz
parse-options.h: OPTION_{BIT,SET_INT} do not store pointer to defval
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>
Diffstat (limited to 'parse-options.h')
-rw-r--r--parse-options.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/parse-options.h b/parse-options.h
index dd46f88422..6d19abd3ac 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 {