浏览代码

avoid useless overriding of G_OPT_F_SEP

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@53191 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 12 年之前
父节点
当前提交
e8ebe7a223

+ 0 - 2
raster/r.category/main.c

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

+ 0 - 2
raster/r.stats/main.c

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

+ 0 - 1
raster/r.univar/r.univar_main.c

@@ -51,7 +51,6 @@ void set_params()
 	_("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';

+ 0 - 1
raster/r.univar/r3.univar_main.c

@@ -52,7 +52,6 @@ void set_params()
 	_("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';

+ 0 - 1
vector/v.rectify/main.c

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

+ 0 - 3
vector/v.vect.stats/main.c

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