]> git.ipfire.org Git - thirdparty/git.git/commit
parse-options: require PARSE_OPT_NOARG for OPTION_BITOP
authorRené Scharfe <l.s.r@web.de>
Wed, 9 Jul 2025 09:44:09 +0000 (11:44 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Jul 2025 15:39:00 +0000 (08:39 -0700)
commit369e6d94b21d238a203ffb702605f97aca5704c9
treea7e15b9cdd0d1ea83f42d7137598776e323a65d1
parent16bd9f20a403117f2e0d9bcda6c6e621d3763e77
parse-options: require PARSE_OPT_NOARG for OPTION_BITOP

OPTION_BITOP options don't take arguments.  Make sure they are declared
that way using the flag PARSE_OPT_NOARG.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
parse-options.c