OSDN Git Service

P
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Jul 1998 22:34:23 +0000 (22:34 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Jul 1998 22:34:23 +0000 (22:34 +0000)
* 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

gcc/f/g77spec.c

index c3850e4..79d3637 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]);