From: Roland McGrath Date: Sun, 16 Oct 1994 05:01:46 +0000 (+0000) Subject: (switches): Bump flag values for --no-print-directory and X-Git-Tag: 3.71.5~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e352e4bf7bb9079c41008227d579203508154de;p=thirdparty%2Fmake.git (switches): Bump flag values for --no-print-directory and --warn-undefined-variables, so neither is 1 (which indicates a nonoption argument). --- 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', }