Explorar o código

v.type: from_type and to_type can not be multiple types

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@59646 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz %!s(int64=11) %!d(string=hai) anos
pai
achega
97ccce48cb
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      vector/v.type/main.c

+ 2 - 0
vector/v.type/main.c

@@ -50,6 +50,7 @@ int main(int argc, char *argv[])
     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 @@ int main(int argc, char *argv[])
     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";