[GRASS-SVN] r31274 -
grass/branches/develbranch_6/scripts/v.db.addtable
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed May 7 03:30:38 EDT 2008
Author: hamish
Date: 2008-05-07 03:30:38 -0400 (Wed, 07 May 2008)
New Revision: 31274
Modified:
grass/branches/develbranch_6/scripts/v.db.addtable/v.db.addtable
Log:
observe verbosity settings
Modified: grass/branches/develbranch_6/scripts/v.db.addtable/v.db.addtable
===================================================================
--- grass/branches/develbranch_6/scripts/v.db.addtable/v.db.addtable 2008-05-07 04:51:06 UTC (rev 31273)
+++ grass/branches/develbranch_6/scripts/v.db.addtable/v.db.addtable 2008-05-07 07:30:38 UTC (rev 31274)
@@ -184,10 +184,13 @@
# (creates new row for each vector line):
v.to.db "$GIS_OPT_MAP" layer="$GIS_OPT_LAYER" option=cat col=cat
-g.message "Current attribute table links:"
-v.db.connect -p "$GIS_OPT_MAP"
+if [ -z "$GRASS_VERBOSE" ] || [ "$GRASS_VERBOSE" -gt 0 ] ; then
+ g.message "Current attribute table links:"
+ v.db.connect -p "$GIS_OPT_MAP"
+fi
# write cmd history:
v.support map="$GIS_OPT_MAP" cmdhist="${CMDLINE}"
exit 0
+
More information about the grass-commit
mailing list