[GRASS-SVN] r59646 - grass/trunk/vector/v.type

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Apr 8 12:42:18 PDT 2014


Author: mmetz
Date: 2014-04-08 12:42:18 -0700 (Tue, 08 Apr 2014)
New Revision: 59646

Modified:
   grass/trunk/vector/v.type/main.c
Log:
v.type: from_type and to_type can not be multiple types

Modified: grass/trunk/vector/v.type/main.c
===================================================================
--- grass/trunk/vector/v.type/main.c	2014-04-08 19:41:28 UTC (rev 59645)
+++ grass/trunk/vector/v.type/main.c	2014-04-08 19:42:18 UTC (rev 59646)
@@ -50,6 +50,7 @@
     from_opt->key = "from_type";
     from_opt->options = "point,line,boundary,centroid,face,kernel";
     from_opt->required = YES;
+    from_opt->multiple = NO;
     from_opt->description = _("Feature type to convert from");
     from_opt->answer = "line";
 
@@ -57,6 +58,7 @@
     to_opt->key = "to_type";
     to_opt->options = "point,line,boundary,centroid,face,kernel";
     to_opt->required = YES;
+    to_opt->multiple = NO;
     to_opt->description = _("Feature type to convert to");
     to_opt->answer = "boundary";
     



More information about the grass-commit mailing list