浏览代码

v.edit, v.lrs.create, v.lrs.where, v.net, v.support: Option thresh => threshold for consistency

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@60321 15284696-431f-4ddb-bdfa-cd5b030d7da7
Huidae Cho 11 年之前
父节点
当前提交
17ffa75cfe
共有 5 个文件被更改,包括 5 次插入5 次删除
  1. 1 1
      vector/v.edit/args.c
  2. 1 1
      vector/v.lrs/v.lrs.create/main.c
  3. 1 1
      vector/v.lrs/v.lrs.where/main.c
  4. 1 1
      vector/v.net/args.c
  5. 1 1
      vector/v.support/main.c

+ 1 - 1
vector/v.edit/args.c

@@ -99,7 +99,7 @@ int parser(int argc, char *argv[], struct GParams *params,
 	_("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;

+ 1 - 1
vector/v.lrs/v.lrs.create/main.c

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

+ 1 - 1
vector/v.lrs/v.lrs.where/main.c

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

+ 1 - 1
vector/v.net/args.c

@@ -63,7 +63,7 @@ void define_options(struct opt *opt)
     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;

+ 1 - 1
vector/v.support/main.c

@@ -95,7 +95,7 @@ int main(int argc, char *argv[])
     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 =