[GRASS-SVN] r52937 - grass/trunk/vector/v.transform

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 27 11:26:42 PDT 2012


Author: mmetz
Date: 2012-08-27 11:26:41 -0700 (Mon, 27 Aug 2012)
New Revision: 52937

Modified:
   grass/trunk/vector/v.transform/main.c
Log:
v.transform: add warning for columns option

Modified: grass/trunk/vector/v.transform/main.c
===================================================================
--- grass/trunk/vector/v.transform/main.c	2012-08-27 18:09:43 UTC (rev 52936)
+++ grass/trunk/vector/v.transform/main.c	2012-08-27 18:26:41 UTC (rev 52937)
@@ -211,8 +211,11 @@
 		    idx = IDX_ZSCALE;
 		else if (strcmp(tokens[0], zrot->key) == 0)
 		    idx = IDX_ZROT;
-		else
+		else {
+		    G_warning(_("Unknown column parameter '%s'"),
+		              tokens[0]);
 		    idx = -1;
+		}
 
 		if (idx != -1)
 		    columns_name[idx] = G_store(tokens[1]);



More information about the grass-commit mailing list