From 61a375c71027856e4acc7b122266f4155555cfa7 Mon Sep 17 00:00:00 2001 From: Craig Burley Date: Tue, 21 Jul 1998 18:34:38 -0400 Subject: [PATCH] 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 --- gcc/f/ChangeLog | 6 ++++++ gcc/f/g77spec.c | 6 ++++++ 2 files changed, 12 insertions(+) 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]); -- 2.47.2