This commit is contained in:
Bill Currie 2007-04-10 13:11:42 +00:00 committed by Jeff Teunissen
parent 15dc16ff64
commit f48d41848a

View file

@ -306,7 +306,7 @@ DecodeArgs (int argc, char **argv)
options.code.debug = flag; options.code.debug = flag;
} else if (!(strcasecmp (temp, "fast-float"))) { } else if (!(strcasecmp (temp, "fast-float"))) {
options.code.fast_float = flag; options.code.fast_float = flag;
} else if (!str(casecmp (temp, "help"))) { } else if (!strcasecmp (temp, "help")) {
code_usage (); code_usage ();
} else if (!(strcasecmp (temp, "local-merging"))) { } else if (!(strcasecmp (temp, "local-merging"))) {
options.code.local_merging = flag; options.code.local_merging = flag;
@ -371,7 +371,7 @@ DecodeArgs (int argc, char **argv)
options.warnings.promote = flag; options.warnings.promote = flag;
} else if (!strcasecmp (temp, "executable")) { } else if (!strcasecmp (temp, "executable")) {
options.warnings.executable = flag; options.warnings.executable = flag;
} else if (!str(casecmp (temp, "help"))) { } else if (!strcasecmp (temp, "help")) {
warning_usage (); warning_usage ();
} else if (!strcasecmp (temp, "initializer")) { } else if (!strcasecmp (temp, "initializer")) {
options.warnings.initializer = flag; options.warnings.initializer = flag;
@ -405,7 +405,7 @@ DecodeArgs (int argc, char **argv)
char *temp = strtok (opts, ","); char *temp = strtok (opts, ",");
while (temp) { while (temp) {
if (!str(casecmp (temp, "help"))) { if (!strcasecmp (temp, "help")) {
notice_usage (); notice_usage ();
} else if (!(strcasecmp (temp, "none"))) { } else if (!(strcasecmp (temp, "none"))) {
options.notices.silent = true; options.notices.silent = true;