[GRASS-SVN] r64276 - grass/trunk/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jan 21 09:30:18 PST 2015


Author: martinl
Date: 2015-01-21 09:30:18 -0800 (Wed, 21 Jan 2015)
New Revision: 64276

Modified:
   grass/trunk/lib/gis/parser_standard_options.c
Log:
libgis: define gisprompt also for G_OPT_V_CAT(S)

Modified: grass/trunk/lib/gis/parser_standard_options.c
===================================================================
--- grass/trunk/lib/gis/parser_standard_options.c	2015-01-21 16:56:23 UTC (rev 64275)
+++ grass/trunk/lib/gis/parser_standard_options.c	2015-01-21 17:30:18 UTC (rev 64276)
@@ -529,6 +529,7 @@
 	Opt->type = TYPE_INTEGER;
 	Opt->required = NO;
 	Opt->description = _("Category value");
+        Opt->gisprompt = "old,cat,cats";
 	break;
     case G_OPT_V_CATS:
 	Opt->key = "cats";
@@ -537,6 +538,7 @@
 	Opt->required = NO;
 	Opt->label = _("Category values");
 	Opt->description = _("Example: 1,3,7-9,13");
+        Opt->gisprompt = "old,cats,cats";
 	break;
     case G_OPT_V_ID:
 	Opt->key = "id";



More information about the grass-commit mailing list