Kaynağa Gözat

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

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@63721 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 yıl önce
ebeveyn
işleme
5498156280

+ 1 - 0
vector/v.net.alloc/main.c

@@ -89,6 +89,7 @@ int main(int argc, char **argv)
     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;

+ 1 - 0
vector/v.net.distance/main.c

@@ -81,6 +81,7 @@ int main(int argc, char *argv[])
     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");

+ 1 - 0
vector/v.net.iso/main.c

@@ -104,6 +104,7 @@ int main(int argc, char **argv)
     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;

+ 1 - 0
vector/v.net.path/main.c

@@ -54,6 +54,7 @@ int main(int argc, char **argv)
     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;

+ 1 - 0
vector/v.net.salesman/main.c

@@ -149,6 +149,7 @@ int main(int argc, char **argv)
     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;

+ 1 - 0
vector/v.net.steiner/main.c

@@ -356,6 +356,7 @@ int main(int argc, char **argv)
     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");