From: Peter Johnson Date: Wed, 2 Apr 2003 03:27:45 +0000 (-0000) Subject: Avoid "unrecognized option `help'" error on "-[fprg] help". X-Git-Tag: v0.2.2~3^2~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f3cd71224ce6977f7bc2ac71ad41b9a2410772c;p=yasm Avoid "unrecognized option `help'" error on "-[fprg] help". svn path=/trunk/yasm/; revision=918 --- diff --git a/frontends/yasm/yasm.c b/frontends/yasm/yasm.c index b61b6dfd..c6745c5b 100644 --- a/frontends/yasm/yasm.c +++ b/frontends/yasm/yasm.c @@ -95,6 +95,7 @@ static void print_list_keword_desc(const char *name, const char *keyword); /* values for special_options */ #define SPECIAL_SHOW_HELP 0x01 #define SPECIAL_SHOW_VERSION 0x02 +#define SPECIAL_LISTED 0x04 /* command line options */ static opt_option options[] = @@ -237,6 +238,9 @@ main(int argc, char *argv[]) for (i=0; i