[GRASS-SVN] r34641 - grass/trunk/db/db.select

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Nov 30 15:06:31 EST 2008


Author: martinl
Date: 2008-11-30 15:06:31 -0500 (Sun, 30 Nov 2008)
New Revision: 34641

Modified:
   grass/trunk/db/db.select/select.c
Log:
db.select: more guisections
	   (merge from devbr6, r34640)


Modified: grass/trunk/db/db.select/select.c
===================================================================
--- grass/trunk/db/db.select/select.c	2008-11-30 20:03:08 UTC (rev 34640)
+++ grass/trunk/db/db.select/select.c	2008-11-30 20:06:31 UTC (rev 34641)
@@ -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