summaryrefslogtreecommitdiff
path: root/gcc/f
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-07-21 22:34:23 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-07-21 22:34:23 +0000
commit86a00429974aded348bf271f0deb32e52f8ec35a (patch)
tree8315b41972ccf79947861695ef272aa0d2236306 /gcc/f
parentb91a3f49e2402189b2afab46d588f62a63653cb7 (diff)
downloadgcc-86a00429974aded348bf271f0deb32e52f8ec35a.tar.gz
P
* g77spec.c (lang_specific_driver): Return unmolested command line when --help seen. Comment out code that printed g77-specific --help info. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21332 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/f')
-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 c3850e42e3d..79d36379a71 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]);