diff mbox

[fortran,committed] Adjust gfortran --version output

Message ID 7AB1BF62-2EDA-48F7-BB3C-66FA33D53605@gmail.com
State New
Headers show

Commit Message

FX Coudert Aug. 8, 2015, 7:59 p.m. UTC
Trivial patch below committed as rev. 226734 to bring the output of “gfortran --version” in line with “gcc --version”.

FX
diff mbox

Patch

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 226733)
+++ ChangeLog	(working copy)
@@ -1,3 +1,8 @@ 
+2015-08-08  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+	PR fortran/67059
+	* gfortranspec.c (lang_specific_driver): Adjust --version output.
+
 2015-08-08  Bud Davis  <jmdavis@link.com>
 	    Mikael Morin  <mikael@gcc.gnu.org>
 
Index: gfortranspec.c
===================================================================
--- gfortranspec.c	(revision 226632)
+++ gfortranspec.c	(working copy)
@@ -276,12 +276,11 @@  lang_specific_driver (struct cl_decoded_
 
 	case OPT__version:
 	  printf ("GNU Fortran %s%s\n", pkgversion_string, version_string);
-	  printf ("Copyright %s 2015 Free Software Foundation, Inc.\n\n",
+	  printf ("Copyright %s 2015 Free Software Foundation, Inc.\n",
 		  _("(C)"));
-	  printf (_("GNU Fortran comes with NO WARRANTY, to the extent permitted by law.\n\
-You may redistribute copies of GNU Fortran\n\
-under the terms of the GNU General Public License.\n\
-For more information about these matters, see the file named COPYING\n\n"));
+	  fputs (_("This is free software; see the source for copying conditions.  There is NO\n\
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n"),
+		stdout);
 	  exit (0);
 	  break;