[GRASS-SVN] r34640 - grass/branches/develbranch_6/db/base
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Nov 30 15:03:08 EST 2008
Author: martinl
Date: 2008-11-30 15:03:08 -0500 (Sun, 30 Nov 2008)
New Revision: 34640
Modified:
grass/branches/develbranch_6/db/base/select.c
Log:
db.select: more guisections
Modified: grass/branches/develbranch_6/db/base/select.c
===================================================================
--- grass/branches/develbranch_6/db/base/select.c 2008-11-30 19:34:00 UTC (rev 34639)
+++ grass/branches/develbranch_6/db/base/select.c 2008-11-30 20:03:08 UTC (rev 34640)
@@ -191,27 +191,31 @@
sql->description =
_("For example: 'select * from rybniky where kapri = 'hodne'");
+ input = G_define_standard_option(G_OPT_F_INPUT);
+ input->required = NO;
+ input->description = _("Name of file with sql statement");
+
fs = G_define_standard_option(G_OPT_F_SEP);
fs->description = _("Output field separator");
+ fs->guisection = _("Format");
vs = G_define_standard_option(G_OPT_F_SEP);
vs->key = "vs";
vs->description = _("Output vertical record separator");
vs->answer = NULL;
+ vs->guisection = _("Format");
nv = G_define_option();
nv->key = "nv";
nv->type = TYPE_STRING;
nv->required = NO;
nv->description = _("Null value indicator");
+ nv->guisection = _("Format");
- input = G_define_standard_option(G_OPT_F_INPUT);
- input->required = NO;
- input->description = _("Name of file with sql statement");
-
c = G_define_flag();
c->key = 'c';
c->description = _("Do not include column names in output");
+ c->guisection = _("Format");
d = G_define_flag();
d->key = 'd';
@@ -220,6 +224,7 @@
v = G_define_flag();
v->key = 'v';
v->description = _("Vertical output (instead of horizontal)");
+ v->guisection = _("Format");
flag_test = G_define_flag();
flag_test->key = 't';
More information about the grass-commit
mailing list