[GRASS-SVN] r59115 - in grass/trunk: raster/r.colors.out vector/v.colors.out
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Feb 21 10:11:41 PST 2014
Author: martinl
Date: 2014-02-21 10:11:40 -0800 (Fri, 21 Feb 2014)
New Revision: 59115
Modified:
grass/trunk/raster/r.colors.out/raster3d_main.c
grass/trunk/raster/r.colors.out/raster_main.c
grass/trunk/vector/v.colors.out/main.c
Log:
r|r3|v.colors.out: do not require 'rules' option (usage cosmetics)
Modified: grass/trunk/raster/r.colors.out/raster3d_main.c
===================================================================
--- grass/trunk/raster/r.colors.out/raster3d_main.c 2014-02-21 18:01:36 UTC (rev 59114)
+++ grass/trunk/raster/r.colors.out/raster3d_main.c 2014-02-21 18:11:40 UTC (rev 59115)
@@ -54,9 +54,9 @@
opt.file = G_define_standard_option(G_OPT_F_OUTPUT);
opt.file->key = "rules";
opt.file->label = _("Path to output rules file");
- opt.file->description = _("\"-\" to write to stdout");
- opt.file->answer = "-";
-
+ opt.file->description = _("If not given write to standard output");
+ opt.file->required = NO;
+
flag.p = G_define_flag();
flag.p->key = 'p';
flag.p->description = _("Output values as percentages");
Modified: grass/trunk/raster/r.colors.out/raster_main.c
===================================================================
--- grass/trunk/raster/r.colors.out/raster_main.c 2014-02-21 18:01:36 UTC (rev 59114)
+++ grass/trunk/raster/r.colors.out/raster_main.c 2014-02-21 18:11:40 UTC (rev 59115)
@@ -53,9 +53,9 @@
opt.file = G_define_standard_option(G_OPT_F_OUTPUT);
opt.file->key = "rules";
opt.file->label = _("Path to output rules file");
- opt.file->description = _("\"-\" to write to stdout");
- opt.file->answer = "-";
-
+ opt.file->description = _("If not given write to standard output");
+ opt.file->required = NO;
+
flag.p = G_define_flag();
flag.p->key = 'p';
flag.p->description = _("Output values as percentages");
Modified: grass/trunk/vector/v.colors.out/main.c
===================================================================
--- grass/trunk/vector/v.colors.out/main.c 2014-02-21 18:01:36 UTC (rev 59114)
+++ grass/trunk/vector/v.colors.out/main.c 2014-02-21 18:11:40 UTC (rev 59115)
@@ -59,9 +59,9 @@
opt.file = G_define_standard_option(G_OPT_F_OUTPUT);
opt.file->key = "rules";
opt.file->label = _("Path to output rules file");
- opt.file->description = _("\"-\" to write to stdout");
- opt.file->answer = "-";
-
+ opt.file->description = _("If not given write to standard output");
+ opt.file->required = NO;
+
opt.col = G_define_standard_option(G_OPT_DB_COLUMN);
opt.col->label = _("Name of attribute (numeric) column to which refer color rules");
opt.col->description = _("If not given color rules are refered to categories");
More information about the grass-commit
mailing list