diff options
author | Roland McGrath <roland@redhat.com> | 1994-10-16 05:01:46 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1994-10-16 05:01:46 +0000 |
commit | 0e352e4bf7bb9079c41008227d579203508154de (patch) | |
tree | 3a84a8fa95d3a9f07ae06f1a50161ac13a18d62e | |
parent | 3f8bde0f2574a7f8ec8390114ecaee654ecce4d3 (diff) | |
download | make-0e352e4bf7bb9079c41008227d579203508154de.tar.gz |
(switches): Bump flag values for --no-print-directory and
--warn-undefined-variables, so neither is 1 (which indicates a nonoption
argument).
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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', } |