[GRASS-SVN] r61398 - grass/trunk/vector/v.external.out

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jul 25 02:52:45 PDT 2014


Author: martinl
Date: 2014-07-25 02:52:45 -0700 (Fri, 25 Jul 2014)
New Revision: 61398

Modified:
   grass/trunk/vector/v.external.out/main.c
Log:
v.external.out: print message about output format only when settings changed

Modified: grass/trunk/vector/v.external.out/main.c
===================================================================
--- grass/trunk/vector/v.external.out/main.c	2014-07-25 09:50:26 UTC (rev 61397)
+++ grass/trunk/vector/v.external.out/main.c	2014-07-25 09:52:45 UTC (rev 61398)
@@ -92,7 +92,8 @@
         save_status_file(options.output);
     }
 
-    G_message(_("Current output format for vectors: %s"), format);
+    if (options.dsn->answer || options.input->answer)
+        G_message(_("Current output format for vectors: %s"), format);
     
     exit(EXIT_SUCCESS);
 }



More information about the grass-commit mailing list