mirror of
https://github.com/mirror/make.git
synced 2025-01-17 15:50:53 +08:00
(switches): Bump flag values for --no-print-directory and
--warn-undefined-variables, so neither is 1 (which indicates a nonoption argument).
This commit is contained in:
parent
3f8bde0f25
commit
0e352e4bf7
4
main.c
4
main.c
@ -272,13 +272,13 @@ static const struct command_switch switches[] =
|
|||||||
{ 'w', flag, (char *) &print_directory_flag, 1, 1, 0, 0, 0,
|
{ 'w', flag, (char *) &print_directory_flag, 1, 1, 0, 0, 0,
|
||||||
"print-directory", 0,
|
"print-directory", 0,
|
||||||
"Print the current directory" },
|
"Print the current directory" },
|
||||||
{ 1, flag, (char *) &inhibit_print_directory_flag, 1, 1, 0, 0, 0,
|
{ 2, flag, (char *) &inhibit_print_directory_flag, 1, 1, 0, 0, 0,
|
||||||
"no-print-directory", 0,
|
"no-print-directory", 0,
|
||||||
"Turn off -w, even if it was turned on implicitly" },
|
"Turn off -w, even if it was turned on implicitly" },
|
||||||
{ 'W', string, (char *) &new_files, 0, 0, 0, 0, 0,
|
{ 'W', string, (char *) &new_files, 0, 0, 0, 0, 0,
|
||||||
"what-if", "FILE",
|
"what-if", "FILE",
|
||||||
"Consider FILE to be infinitely new" },
|
"Consider FILE to be infinitely new" },
|
||||||
{ 2, flag, (char *) &warn_undefined_variables_flag, 1, 1, 0, 0, 0,
|
{ 3, flag, (char *) &warn_undefined_variables_flag, 1, 1, 0, 0, 0,
|
||||||
"warn-undefined-variables", 0,
|
"warn-undefined-variables", 0,
|
||||||
"Warn when an undefined variable is referenced" },
|
"Warn when an undefined variable is referenced" },
|
||||||
{ '\0', }
|
{ '\0', }
|
||||||
|
Loading…
Reference in New Issue
Block a user