]> git.ipfire.org Git - thirdparty/git.git/commit
api-parse-options.txt: fix description of OPT_CMDMODE
authorSZEDER Gábor <szeder.dev@gmail.com>
Fri, 19 Aug 2022 16:03:56 +0000 (18:03 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Aug 2022 18:13:14 +0000 (11:13 -0700)
commit80882bc5e7143a0c3823b5a398fd76c9138437ef
treea7301f2c52411e87c71631b5280215a3f8980efc
parentc1b117d31ca9b09444f14092c35d092f3330823e
api-parse-options.txt: fix description of OPT_CMDMODE

The description of the 'OPT_CMDMODE' macro states that "enum_val is
set to int_var when ...", but it's the other way around, 'int_var' is
set to 'enum_val'.  Fix this.

Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/api-parse-options.txt