From: Craig Burley Date: Tue, 21 Jul 1998 22:34:38 +0000 (-0400) Subject: g77spec.c (lang_specific_driver): Return unmolested command line when --help seen. X-Git-Tag: prereleases/egcs-1.1-prerelease~186 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61a375c71027856e4acc7b122266f4155555cfa7;p=thirdparty%2Fgcc.git g77spec.c (lang_specific_driver): Return unmolested command line when --help seen. Tue Jul 21 04:33:37 1998 Craig Burley * g77spec.c (lang_specific_driver): Return unmolested command line when --help seen. Comment out code that printed g77-specific --help info. From-SVN: r21333 --- diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index 077f9443f244..f4cc5757d33c 100644 --- a/gcc/f/ChangeLog +++ b/gcc/f/ChangeLog @@ -1,3 +1,9 @@ +Tue Jul 21 04:33:37 1998 Craig Burley + + * g77spec.c (lang_specific_driver): Return unmolested + command line when --help seen. + Comment out code that printed g77-specific --help info. + Sat Jul 18 19:16:48 1998 Craig Burley * lang-options.h: Fix up doc strings. diff --git a/gcc/f/g77spec.c b/gcc/f/g77spec.c index c3850e42e3dd..79d36379a71c 100644 --- a/gcc/f/g77spec.c +++ b/gcc/f/g77spec.c @@ -397,6 +397,11 @@ or type the command `info -f g77 Copying'.\n\ break; case OPTION_help: + /* Let gcc.c handle this, as the egcs version has a really + cool facility for handling --help and --verbose --help. */ + return; + +#if 0 printf ("\ Usage: g77 [OPTION]... FORTRAN-SOURCE...\n\ \n\ @@ -425,6 +430,7 @@ and `info -f gcc' to read the Info documentation.\n\ Report bugs to .\n"); exit (0); break; +#endif case OPTION_driver: (*fn) ("--driver no longer supported", argv[i]);