[GRASS-SVN] r40112 - grass/trunk/general/g.version

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Dec 22 09:21:10 EST 2009


Author: martinl
Date: 2009-12-22 09:21:10 -0500 (Tue, 22 Dec 2009)
New Revision: 40112

Modified:
   grass/trunk/general/g.version/main.c
Log:
g.version: print only version number in quiet mode


Modified: grass/trunk/general/g.version/main.c
===================================================================
--- grass/trunk/general/g.version/main.c	2009-12-22 14:18:14 UTC (rev 40111)
+++ grass/trunk/general/g.version/main.c	2009-12-22 14:21:10 UTC (rev 40112)
@@ -65,9 +65,8 @@
 		GRASS_VERSION_DATE);
     }
     else {
-	fprintf(stdout, "GRASS %s (%s) %s\n",
-		GRASS_VERSION_NUMBER, GRASS_VERSION_DATE,
-		GRASS_VERSION_UPDATE_PKG);
+	fprintf(stdout, "GRASS %s\n",
+		GRASS_VERSION_NUMBER);
     }
     
     if (copyright->answer) {



More information about the grass-commit mailing list