[GRASS-SVN] r60322 - in grass/branches/releasebranch_7_0/vector: v.clean v.edit v.lrs/v.lrs.create v.lrs/v.lrs.where v.net v.support

svn_grass at osgeo.org svn_grass at osgeo.org
Sun May 18 09:15:05 PDT 2014


Author: hcho
Date: 2014-05-18 09:15:05 -0700 (Sun, 18 May 2014)
New Revision: 60322

Modified:
   grass/branches/releasebranch_7_0/vector/v.clean/main.c
   grass/branches/releasebranch_7_0/vector/v.edit/args.c
   grass/branches/releasebranch_7_0/vector/v.lrs/v.lrs.create/main.c
   grass/branches/releasebranch_7_0/vector/v.lrs/v.lrs.where/main.c
   grass/branches/releasebranch_7_0/vector/v.net/args.c
   grass/branches/releasebranch_7_0/vector/v.support/main.c
Log:
v.edit, v.lrs.create, v.lrs.where, v.net, v.support: Option thresh => threshold for consistency (merge from 60321)

Modified: grass/branches/releasebranch_7_0/vector/v.clean/main.c
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.clean/main.c	2014-05-18 16:13:50 UTC (rev 60321)
+++ grass/branches/releasebranch_7_0/vector/v.clean/main.c	2014-05-18 16:15:05 UTC (rev 60322)
@@ -116,7 +116,7 @@
     opt.tool->descriptions = desc;
     
     opt.thresh = G_define_option();
-    opt.thresh->key = "thresh";
+    opt.thresh->key = "threshold";
     opt.thresh->type = TYPE_DOUBLE;
     opt.thresh->required = NO;
     opt.thresh->multiple = YES;

Modified: grass/branches/releasebranch_7_0/vector/v.edit/args.c
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.edit/args.c	2014-05-18 16:13:50 UTC (rev 60321)
+++ grass/branches/releasebranch_7_0/vector/v.edit/args.c	2014-05-18 16:15:05 UTC (rev 60322)
@@ -99,7 +99,7 @@
 	_("Difference in x,y,z direction for moving feature or vertex");
 
     params->maxdist = G_define_option();
-    params->maxdist->key = "thresh";
+    params->maxdist->key = "threshold";
     params->maxdist->type = TYPE_DOUBLE;
     params->maxdist->required = NO;
     params->maxdist->multiple = YES;

Modified: grass/branches/releasebranch_7_0/vector/v.lrs/v.lrs.create/main.c
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.lrs/v.lrs.create/main.c	2014-05-18 16:13:50 UTC (rev 60321)
+++ grass/branches/releasebranch_7_0/vector/v.lrs/v.lrs.create/main.c	2014-05-18 16:15:05 UTC (rev 60322)
@@ -224,7 +224,7 @@
     table_opt->description = _("New table is created by this module");
 
     thresh_opt = G_define_option();
-    thresh_opt->key = "thresh";
+    thresh_opt->key = "threshold";
     thresh_opt->type = TYPE_DOUBLE;
     thresh_opt->required = NO;
     thresh_opt->answer = "1";

Modified: grass/branches/releasebranch_7_0/vector/v.lrs/v.lrs.where/main.c
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.lrs/v.lrs.where/main.c	2014-05-18 16:13:50 UTC (rev 60321)
+++ grass/branches/releasebranch_7_0/vector/v.lrs/v.lrs.where/main.c	2014-05-18 16:15:05 UTC (rev 60322)
@@ -101,7 +101,7 @@
     table_opt->description = _("Name of the reference system table");
 
     thresh_opt = G_define_option();
-    thresh_opt->key = "thresh";
+    thresh_opt->key = "threshold";
     thresh_opt->type = TYPE_DOUBLE;
     thresh_opt->required = NO;
     thresh_opt->answer = "1000";

Modified: grass/branches/releasebranch_7_0/vector/v.net/args.c
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.net/args.c	2014-05-18 16:13:50 UTC (rev 60321)
+++ grass/branches/releasebranch_7_0/vector/v.net/args.c	2014-05-18 16:15:05 UTC (rev 60322)
@@ -63,7 +63,7 @@
     opt->nfield_opt->guisection = _("Nodes");
 
     opt->thresh_opt = G_define_option();
-    opt->thresh_opt->key = "thresh";
+    opt->thresh_opt->key = "threshold";
     opt->thresh_opt->type = TYPE_DOUBLE;
     opt->thresh_opt->required = NO;
     opt->thresh_opt->multiple = NO;

Modified: grass/branches/releasebranch_7_0/vector/v.support/main.c
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.support/main.c	2014-05-18 16:13:50 UTC (rev 60321)
+++ grass/branches/releasebranch_7_0/vector/v.support/main.c	2014-05-18 16:15:05 UTC (rev 60322)
@@ -95,7 +95,7 @@
     zone->description = _("Vector map projection zone");
 
     thresh = G_define_option();
-    thresh->key = "thresh";
+    thresh->key = "threshold";
     thresh->type = TYPE_DOUBLE;
     thresh->required = NO;
     thresh->description =



More information about the grass-commit mailing list