浏览代码

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 11 年之前
父节点
当前提交
97ccce48cb
共有 1 个文件被更改,包括 2 次插入0 次删除
  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";