[GRASS-SVN] r63193 - grass/trunk/display/d.colorlist
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Nov 27 06:18:29 PST 2014
Author: martinl
Date: 2014-11-27 06:18:29 -0800 (Thu, 27 Nov 2014)
New Revision: 63193
Modified:
grass/trunk/display/d.colorlist/main.c
Log:
d.colorlist: description cosmetics, default sep changed to comma
Modified: grass/trunk/display/d.colorlist/main.c
===================================================================
--- grass/trunk/display/d.colorlist/main.c 2014-11-27 14:16:15 UTC (rev 63192)
+++ grass/trunk/display/d.colorlist/main.c 2014-11-27 14:18:29 UTC (rev 63193)
@@ -34,18 +34,19 @@
module = G_define_module();
G_add_keyword(_("display"));
G_add_keyword(_("settings"));
+ G_add_keyword(_("colors"));
module->description =
- "Output a list of all available display colors with a configurable "
- "separator (default is comma).";
+ _("Outputs a list of all available display colors.");
/* set up option */
sep = G_define_standard_option(G_OPT_F_SEP);
+ sep->answer = "comma";
if (G_parser(argc, argv))
exit(EXIT_FAILURE);
sep_str = G_option_to_separator(sep);
-
+
colorlist = G_store(D_COLOR_LIST);
/* if separator is different from ",", escape this character */
More information about the grass-commit
mailing list