[GRASS-SVN] r63100 - grass/trunk/vector/v.db.select
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 26 08:16:03 PST 2014
Author: martinl
Date: 2014-11-26 08:16:03 -0800 (Wed, 26 Nov 2014)
New Revision: 63100
Modified:
grass/trunk/vector/v.db.select/main.c
Log:
v.db.select: use standardized options (#2409)
Modified: grass/trunk/vector/v.db.select/main.c
===================================================================
--- grass/trunk/vector/v.db.select/main.c 2014-11-26 16:13:51 UTC (rev 63099)
+++ grass/trunk/vector/v.db.select/main.c 2014-11-26 16:16:03 UTC (rev 63100)
@@ -70,16 +70,12 @@
fs_opt->guisection = _("Format");
vs_opt = G_define_standard_option(G_OPT_F_SEP);
- vs_opt->key = "vs";
+ vs_opt->key = "vertical_separator";
vs_opt->label = _("Output vertical record separator");
vs_opt->answer = NULL;
vs_opt->guisection = _("Format");
- nv_opt = G_define_option();
- nv_opt->key = "nv";
- nv_opt->type = TYPE_STRING;
- nv_opt->required = NO;
- nv_opt->description = _("Null value indicator");
+ nv_opt = G_define_standard_option(G_OPT_M_NULL_VALUE);
nv_opt->guisection = _("Format");
file_opt = G_define_standard_option(G_OPT_F_OUTPUT);
More information about the grass-commit
mailing list