浏览代码

v.build: more gui sections

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@51084 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 年之前
父节点
当前提交
9d2f759dd8
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5 2
      vector/v.build/main.c

+ 5 - 2
vector/v.build/main.c

@@ -49,6 +49,7 @@ int main(int argc, char *argv[])
     err_opt->description =
 	_("Name for output vector map where erroneous vector features are written to");
     err_opt->required = NO;
+    err_opt->guisection = _("Errors");
 
     opt = G_define_option();
     opt->key = "option";
@@ -68,12 +69,14 @@ int main(int argc, char *argv[])
 	       _("write category index to stdout"),
 	       _("write feature index to stdout (non-native formats only)"));
     opt->descriptions = opt_desc;
-
+    opt->required = YES;
+    
     chk = G_define_flag();
     chk->key = 'e';
     chk->label = _("Extensive checks for topological errors");
     chk->description = _("Perform in-depth checks for topological errors when building topology");
-
+    chk->guisection = _("Errors");
+    
     if (G_parser(argc, argv))
 	exit(EXIT_FAILURE);