瀏覽代碼

v.net: type -> arc_type (https://trac.osgeo.org/grass/ticket/2409)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@63718 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 年之前
父節點
當前提交
fb80c7ea0c
共有 1 個文件被更改,包括 7 次插入7 次删除
  1. 7 7
      vector/v.net/args.c

+ 7 - 7
vector/v.net/args.c

@@ -56,6 +56,13 @@ void define_options(struct opt *opt)
     opt->afield_opt->label = _("Arc layer");
     opt->afield_opt->guisection = _("Arcs");
 
+    opt->type = G_define_standard_option(G_OPT_V_TYPE);
+    opt->type->key = "arc_type";
+    opt->type->options = "line,boundary";
+    opt->type->answer = "line,boundary";
+    opt->type->label = _("Arc type");
+    opt->type->guisection = _("Turntable");
+
     opt->nfield_opt = G_define_standard_option(G_OPT_V_FIELD);
     opt->nfield_opt->key = "node_layer";
     opt->nfield_opt->answer = "2";
@@ -114,13 +121,6 @@ void define_options(struct opt *opt)
     opt->tucfield->key = "tuclayer";
     opt->tucfield->required = NO;
     opt->tucfield->guisection = _("Turntable");
-
-    opt->type = G_define_standard_option(G_OPT_V_TYPE);
-    opt->type->options = "line,boundary";
-    opt->type->answer = "line,boundary";
-    opt->type->label = _("Arc type");
-    opt->type->guisection = _("Turntable");
-
 }
 
 void parse_arguments(const struct opt *opt,