[GRASS-SVN] r63718 - grass/trunk/vector/v.net

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Dec 24 04:22:32 PST 2014


Author: martinl
Date: 2014-12-24 04:22:32 -0800 (Wed, 24 Dec 2014)
New Revision: 63718

Modified:
   grass/trunk/vector/v.net/args.c
Log:
v.net: type -> arc_type (#2409)

Modified: grass/trunk/vector/v.net/args.c
===================================================================
--- grass/trunk/vector/v.net/args.c	2014-12-24 12:19:38 UTC (rev 63717)
+++ grass/trunk/vector/v.net/args.c	2014-12-24 12:22:32 UTC (rev 63718)
@@ -56,6 +56,13 @@
     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 @@
     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,



More information about the grass-commit mailing list