소스 검색

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,