]> git.ipfire.org Git - thirdparty/git.git/commit
parse-options.h: rename _OPT_CONTAINS_OR_WITH()'s parameters
authorSZEDER Gábor <szeder.dev@gmail.com>
Sun, 19 Mar 2023 16:56:47 +0000 (17:56 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Mar 2023 19:04:06 +0000 (12:04 -0700)
commitaa0275a2c030c9c03f7934340ce1496d8796954e
tree8cfe2dc19fc841d62d0a694a27f4e5a4c8e2ee62
parentab0845b38263e694686ce5b72be81c31c06c00cc
parse-options.h: rename _OPT_CONTAINS_OR_WITH()'s parameters

Rename the 'help' parameter as it matches one of the fields in 'struct
option', and, while at it, rename all other parameters to the usual
one-letter name used in similar macro definitions.

Furthermore, put all parameters in the replacement list between
parentheses, like all other OPT_* macros do.

Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Reviewed-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
parse-options.h