[GRASS-SVN] r62354 - grass/trunk/vector/v.category

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 22 05:43:39 PDT 2014


Author: martinl
Date: 2014-10-22 05:43:39 -0700 (Wed, 22 Oct 2014)
New Revision: 62354

Modified:
   grass/trunk/vector/v.category/main.c
Log:
v.category: do not print done message when reporting/printing categories


Modified: grass/trunk/vector/v.category/main.c
===================================================================
--- grass/trunk/vector/v.category/main.c	2014-10-22 12:33:59 UTC (rev 62353)
+++ grass/trunk/vector/v.category/main.c	2014-10-22 12:43:39 UTC (rev 62354)
@@ -778,9 +778,12 @@
         for(i = 1; i < nfields; i++)
 	    G_important_message(_("Categories copied from layer %d to layer %d"),
 		                  fields[0], fields[i]);
-    G_done_msg(_n("%d feature modified.",
-                  "%d features modified.",
-                  nmodified), nmodified);
+
+    if (option != O_REP && option != O_PRN) 
+        G_done_msg(_n("%d feature modified.",
+                      "%d features modified.",
+                      nmodified), nmodified);
+    
     Vect_close(&In);
 
     exit(EXIT_SUCCESS);



More information about the grass-commit mailing list