Browse Source

g.version: print only version number in quiet mode

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@40112 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 15 years ago
parent
commit
105fd61d1f
1 changed files with 2 additions and 3 deletions
  1. 2 3
      general/g.version/main.c

+ 2 - 3
general/g.version/main.c

@@ -65,9 +65,8 @@ int main(int argc, char *argv[])
 		GRASS_VERSION_DATE);
 		GRASS_VERSION_DATE);
     }
     }
     else {
     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) {
     if (copyright->answer) {