зеркало из https://github.com/microsoft/git.git
Merge branch 'iu/fix-parse-options-h-comment'
* iu/fix-parse-options-h-comment: parse-options.h: OPTION_{BIT,SET_INT} do not store pointer to defval
This commit is contained in:
Коммит
1d058dc6e5
|
@ -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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче