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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Mar 27 05:29:39 EDT 2010


Author: martinl
Date: 2010-03-27 05:29:38 -0400 (Sat, 27 Mar 2010)
New Revision: 41570

Modified:
   grass/trunk/general/g.version/main.c
Log:
g.version: remove --q trick


Modified: grass/trunk/general/g.version/main.c
===================================================================
--- grass/trunk/general/g.version/main.c	2010-03-27 09:20:52 UTC (rev 41569)
+++ grass/trunk/general/g.version/main.c	2010-03-27 09:29:38 UTC (rev 41570)
@@ -59,15 +59,9 @@
     if (G_parser(argc, argv))
 	exit(EXIT_FAILURE);
 
-    if (G_verbose() >= G_verbose_std()) {
-	fprintf(stdout, "GRASS %s%s (%s)\n",
-		GRASS_VERSION_NUMBER, GRASS_VERSION_SVN,
-		GRASS_VERSION_DATE);
-    }
-    else {
-	fprintf(stdout, "GRASS %s\n",
-		GRASS_VERSION_NUMBER);
-    }
+    fprintf(stdout, "GRASS %s%s (%s)\n",
+	    GRASS_VERSION_NUMBER, GRASS_VERSION_SVN,
+	    GRASS_VERSION_DATE);
     
     if (copyright->answer) {
 	fprintf(stdout, "\n");



More information about the grass-commit mailing list