(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:
Roland McGrath 1994-10-16 05:01:46 +00:00
parent 3f8bde0f25
commit 0e352e4bf7

4
main.c
View File

@ -272,13 +272,13 @@ static const struct command_switch switches[] =
{ 'w', flag, (char *) &print_directory_flag, 1, 1, 0, 0, 0,
"print-directory", 0,
"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,
"Turn off -w, even if it was turned on implicitly" },
{ 'W', string, (char *) &new_files, 0, 0, 0, 0, 0,
"what-if", "FILE",
"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 when an undefined variable is referenced" },
{ '\0', }