Skip to content

Commit

Permalink
Merge branch 'iu/fix-parse-options-h-comment' into maint
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
gitster committed Apr 21, 2015
2 parents e8281f0 + d3c0811 commit c84364a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions parse-options.h
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 c84364a

Please sign in to comment.