Skip to content

Commit

Permalink
Merge branch 'iu/fix-parse-options-h-comment'
Browse files Browse the repository at this point in the history
* iu/fix-parse-options-h-comment:
  parse-options.h: OPTION_{BIT,SET_INT} do not store pointer to defval
  • Loading branch information
Junio C Hamano committed Apr 14, 2015
2 parents 638cbf5 + d3c0811 commit 1d058dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions parse-options.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1d058dc

Please sign in to comment.