aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Burley <burley@gnu.org>1998-07-21 16:34:23 -0600
committerJeff Law <law@gcc.gnu.org>1998-07-21 16:34:23 -0600
commitbdb2fe90a5d7f9705e2c7b69d129437c843d81b8 (patch)
tree8315b41972ccf79947861695ef272aa0d2236306
parent90059ae12ee7707b9a8f027b956ac3157ff8c199 (diff)
downloadgcc-bdb2fe90a5d7f9705e2c7b69d129437c843d81b8.zip
gcc-bdb2fe90a5d7f9705e2c7b69d129437c843d81b8.tar.gz
gcc-bdb2fe90a5d7f9705e2c7b69d129437c843d81b8.tar.bz2
g77spec.c (lang_specific_driver): Return unmolested command line when --help seen.
P * g77spec.c (lang_specific_driver): Return unmolested command line when --help seen. Comment out code that printed g77-specific --help info. From-SVN: r21332
-rw-r--r--gcc/f/g77spec.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/f/g77spec.c b/gcc/f/g77spec.c
index c3850e4..79d3637 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 <egcs-bugs@cygnus.org>.\n");
exit (0);
break;
+#endif
case OPTION_driver:
(*fn) ("--driver no longer supported", argv[i]);