[GRASS-SVN] r47553 - grass/trunk/display/d.vect
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Aug 11 06:37:39 EDT 2011
Author: martinl
Date: 2011-08-11 03:37:39 -0700 (Thu, 11 Aug 2011)
New Revision: 47553
Modified:
grass/trunk/display/d.vect/main.c
Log:
d.vect: use G_OPT_M_COLR
Modified: grass/trunk/display/d.vect/main.c
===================================================================
--- grass/trunk/display/d.vect/main.c 2011-08-11 10:36:27 UTC (rev 47552)
+++ grass/trunk/display/d.vect/main.c 2011-08-11 10:37:39 UTC (rev 47553)
@@ -174,12 +174,9 @@
rgbcol_opt->guisection = _("Colors");
rgbcol_opt->description = _("Name of color definition column (for use with -a flag)");
- zcol_opt = G_define_option();
+ zcol_opt = G_define_standard_option(G_OPT_M_COLR);
zcol_opt->key = "zcolor";
- zcol_opt->key_desc = "style";
- zcol_opt->type = TYPE_STRING;
- zcol_opt->required = NO;
- zcol_opt->description = _("Type of color table (for use with -z flag)");
+ zcol_opt->description = _("Name of color table (for use with -z flag)");
zcol_opt->answer = "terrain";
zcol_opt->guisection = _("Colors");
More information about the grass-commit
mailing list