[GRASS-SVN] r63721 - in grass/trunk/vector: v.net.alloc v.net.distance v.net.iso v.net.path v.net.salesman v.net.steiner

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Dec 24 05:06:06 PST 2014


Author: martinl
Date: 2014-12-24 05:06:06 -0800 (Wed, 24 Dec 2014)
New Revision: 63721

Modified:
   grass/trunk/vector/v.net.alloc/main.c
   grass/trunk/vector/v.net.distance/main.c
   grass/trunk/vector/v.net.iso/main.c
   grass/trunk/vector/v.net.path/main.c
   grass/trunk/vector/v.net.salesman/main.c
   grass/trunk/vector/v.net.steiner/main.c
Log:
v.net: type -> arc_type (#2409)


Modified: grass/trunk/vector/v.net.alloc/main.c
===================================================================
--- grass/trunk/vector/v.net.alloc/main.c	2014-12-24 12:33:27 UTC (rev 63720)
+++ grass/trunk/vector/v.net.alloc/main.c	2014-12-24 13:06:06 UTC (rev 63721)
@@ -89,6 +89,7 @@
     afield_opt->label = _("Arc layer");
 
     type_opt = G_define_standard_option(G_OPT_V_TYPE);
+    type_opt->key = "arc_type";
     type_opt->options = "line,boundary";
     type_opt->answer = "line,boundary";
     type_opt->required = YES;

Modified: grass/trunk/vector/v.net.distance/main.c
===================================================================
--- grass/trunk/vector/v.net.distance/main.c	2014-12-24 12:33:27 UTC (rev 63720)
+++ grass/trunk/vector/v.net.distance/main.c	2014-12-24 13:06:06 UTC (rev 63721)
@@ -81,6 +81,7 @@
     afield_opt->guisection = _("Cost");
 
     atype_opt = G_define_standard_option(G_OPT_V_TYPE);
+    atype_opt->key = "arc_type";
     atype_opt->options = "line,boundary";
     atype_opt->answer = "line,boundary";
     atype_opt->label = _("Arc type");

Modified: grass/trunk/vector/v.net.iso/main.c
===================================================================
--- grass/trunk/vector/v.net.iso/main.c	2014-12-24 12:33:27 UTC (rev 63720)
+++ grass/trunk/vector/v.net.iso/main.c	2014-12-24 13:06:06 UTC (rev 63721)
@@ -104,6 +104,7 @@
     afield_opt->label = _("Arc layer");
 
     type_opt = G_define_standard_option(G_OPT_V_TYPE);
+    type_opt->key = "arc_type";
     type_opt->options = "line,boundary";
     type_opt->answer = "line,boundary";
     type_opt->required = YES;

Modified: grass/trunk/vector/v.net.path/main.c
===================================================================
--- grass/trunk/vector/v.net.path/main.c	2014-12-24 12:33:27 UTC (rev 63720)
+++ grass/trunk/vector/v.net.path/main.c	2014-12-24 13:06:06 UTC (rev 63721)
@@ -54,6 +54,7 @@
     afield_opt->label = _("Arc layer");
 
     type_opt = G_define_standard_option(G_OPT_V_TYPE);
+    type_opt->key = "arc_type";
     type_opt->options = "line,boundary";
     type_opt->answer = "line,boundary";
     type_opt->required = YES;

Modified: grass/trunk/vector/v.net.salesman/main.c
===================================================================
--- grass/trunk/vector/v.net.salesman/main.c	2014-12-24 12:33:27 UTC (rev 63720)
+++ grass/trunk/vector/v.net.salesman/main.c	2014-12-24 13:06:06 UTC (rev 63721)
@@ -149,6 +149,7 @@
     afield_opt->label = _("Arc layer");
 
     type_opt = G_define_standard_option(G_OPT_V_TYPE);
+    type_opt->key = "arc_type";
     type_opt->options = "line,boundary";
     type_opt->answer = "line,boundary";
     type_opt->required = YES;

Modified: grass/trunk/vector/v.net.steiner/main.c
===================================================================
--- grass/trunk/vector/v.net.steiner/main.c	2014-12-24 12:33:27 UTC (rev 63720)
+++ grass/trunk/vector/v.net.steiner/main.c	2014-12-24 13:06:06 UTC (rev 63721)
@@ -356,6 +356,7 @@
     output = G_define_standard_option(G_OPT_V_OUTPUT);
 
     type_opt = G_define_standard_option(G_OPT_V_TYPE);
+    type_opt->key = "arc_type";
     type_opt->options = "line,boundary";
     type_opt->answer = "line,boundary";
     type_opt->label = _("Arc type");



More information about the grass-commit mailing list