summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1994-10-16 05:01:46 +0000
committerRoland McGrath <roland@redhat.com>1994-10-16 05:01:46 +0000
commit0e352e4bf7bb9079c41008227d579203508154de (patch)
tree3a84a8fa95d3a9f07ae06f1a50161ac13a18d62e /main.c
parent3f8bde0f2574a7f8ec8390114ecaee654ecce4d3 (diff)
downloadmake-0e352e4bf7bb9079c41008227d579203508154de.tar.gz
(switches): Bump flag values for --no-print-directory and
--warn-undefined-variables, so neither is 1 (which indicates a nonoption argument).
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 6dc06156..c3fe90dd 100644
--- a/main.c
+++ b/main.c
@@ -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', }