g77spec.c (lang_specific_driver): Return unmolested command line when --help seen.
authorCraig Burley <burley@gnu.org>
Tue, 21 Jul 1998 22:34:23 +0000 (16:34 -0600)
committerJeff Law <law@gcc.gnu.org>
Tue, 21 Jul 1998 22:34:23 +0000 (16:34 -0600)
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

gcc/f/g77spec.c

index c3850e42e3dd519c2d21598e352ad00bb5e5c0f0..79d36379a71cbd654f6082ac1eb09bdce5e2bca3 100644 (file)
@@ -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]);