[GRASS-SVN] r57591 - grass/trunk/display/d.vect.chart

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Sep 3 18:07:54 PDT 2013


Author: martinl
Date: 2013-09-03 18:07:53 -0700 (Tue, 03 Sep 2013)
New Revision: 57591

Modified:
   grass/trunk/display/d.vect.chart/main.c
Log:
d.vect.chart: use standardized option for columns


Modified: grass/trunk/display/d.vect.chart/main.c
===================================================================
--- grass/trunk/display/d.vect.chart/main.c	2013-09-03 21:07:58 UTC (rev 57590)
+++ grass/trunk/display/d.vect.chart/main.c	2013-09-04 01:07:53 UTC (rev 57591)
@@ -84,11 +84,8 @@
     ctype_opt->description = _("Chart type");
     ctype_opt->guisection = _("Chart properties");
 
-    columns_opt = G_define_option();
-    columns_opt->key = "columns";
-    columns_opt->type = TYPE_STRING;
+    columns_opt = G_define_standard_option(G_OPT_DB_COLUMNS);
     columns_opt->required = YES;
-    columns_opt->multiple = YES;
     columns_opt->description = _("Attribute columns containing data");
 
     sizecol_opt = G_define_option();



More information about the grass-commit mailing list