[GRASS-SVN] r53191 - in grass/trunk: raster/r.category raster/r.stats raster/r.univar vector/v.rectify vector/v.vect.stats

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Sep 17 07:37:52 PDT 2012


Author: neteler
Date: 2012-09-17 07:37:51 -0700 (Mon, 17 Sep 2012)
New Revision: 53191

Modified:
   grass/trunk/raster/r.category/main.c
   grass/trunk/raster/r.stats/main.c
   grass/trunk/raster/r.univar/r.univar_main.c
   grass/trunk/raster/r.univar/r3.univar_main.c
   grass/trunk/vector/v.rectify/main.c
   grass/trunk/vector/v.vect.stats/main.c
Log:
avoid useless overriding of G_OPT_F_SEP

Modified: grass/trunk/raster/r.category/main.c
===================================================================
--- grass/trunk/raster/r.category/main.c	2012-09-17 09:20:00 UTC (rev 53190)
+++ grass/trunk/raster/r.category/main.c	2012-09-17 14:37:51 UTC (rev 53191)
@@ -69,9 +69,7 @@
     parm.vals->description = _("Example: 1.4,3.8,13");
 
     parm.fs = G_define_standard_option(G_OPT_F_SEP);
-    parm.fs->key_desc = "character|space|tab";
     parm.fs->answer = "tab";
-    parm.fs->description = _("Output field separator");
 
     parm.raster = G_define_standard_option(G_OPT_R_INPUT);
     parm.raster->key = "raster";

Modified: grass/trunk/raster/r.stats/main.c
===================================================================
--- grass/trunk/raster/r.stats/main.c	2012-09-17 09:20:00 UTC (rev 53190)
+++ grass/trunk/raster/r.stats/main.c	2012-09-17 14:37:51 UTC (rev 53191)
@@ -114,9 +114,7 @@
 	_("Name for output file (if omitted or \"-\" output to stdout)");
 
     option.fs = G_define_standard_option(G_OPT_F_SEP);
-    option.fs->key_desc = "character|space|tab";
     option.fs->answer = "space";
-    option.fs->description = _("Output field separator");
 
     option.nv = G_define_option();
     option.nv->key = "nv";

Modified: grass/trunk/raster/r.univar/r.univar_main.c
===================================================================
--- grass/trunk/raster/r.univar/r.univar_main.c	2012-09-17 09:20:00 UTC (rev 53190)
+++ grass/trunk/raster/r.univar/r.univar_main.c	2012-09-17 14:37:51 UTC (rev 53191)
@@ -51,7 +51,6 @@
 	_("Percentile to calculate (requires extended statistics flag)");
 
     param.separator = G_define_standard_option(G_OPT_F_SEP);
-    param.separator->description = _("Special characters: space, comma, tab");
 
     param.shell_style = G_define_flag();
     param.shell_style->key = 'g';

Modified: grass/trunk/raster/r.univar/r3.univar_main.c
===================================================================
--- grass/trunk/raster/r.univar/r3.univar_main.c	2012-09-17 09:20:00 UTC (rev 53190)
+++ grass/trunk/raster/r.univar/r3.univar_main.c	2012-09-17 14:37:51 UTC (rev 53191)
@@ -52,7 +52,6 @@
 	_("Percentile to calculate (requires extended statistics flag)");
 
     param.separator = G_define_standard_option(G_OPT_F_SEP);
-    param.separator->description = _("Special characters: space, comma, tab");
 
     param.shell_style = G_define_flag();
     param.shell_style->key = 'g';

Modified: grass/trunk/vector/v.rectify/main.c
===================================================================
--- grass/trunk/vector/v.rectify/main.c	2012-09-17 09:20:00 UTC (rev 53190)
+++ grass/trunk/vector/v.rectify/main.c	2012-09-17 14:37:51 UTC (rev 53191)
@@ -103,7 +103,6 @@
     
     sep = G_define_standard_option(G_OPT_F_SEP);
     sep->label = _("Field separator for RMS report");
-    sep->description = _("Special characters: newline, space, comma, tab");
 
     flag_use3d = G_define_flag();
     flag_use3d->key = '3';

Modified: grass/trunk/vector/v.vect.stats/main.c
===================================================================
--- grass/trunk/vector/v.vect.stats/main.c	2012-09-17 09:20:00 UTC (rev 53190)
+++ grass/trunk/vector/v.vect.stats/main.c	2012-09-17 14:37:51 UTC (rev 53191)
@@ -198,9 +198,6 @@
 	_("Column to hold statistics, must be of type double, will be created if not existing");
 
     fs_opt = G_define_standard_option(G_OPT_F_SEP);
-    fs_opt->answer = "|";
-    fs_opt->key_desc = "character|space|tab";
-    fs_opt->description = _("Output field separator");
 
     print_flag = G_define_flag();
     print_flag->key = 'p';



More information about the grass-commit mailing list