[GRASS-SVN] r41540 - grass/branches/develbranch_6/db/base
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Mar 25 17:09:31 EDT 2010
Author: martinl
Date: 2010-03-25 17:09:30 -0400 (Thu, 25 Mar 2010)
New Revision: 41540
Modified:
grass/branches/develbranch_6/db/base/connect.c
Log:
db.connect: more guisections
Modified: grass/branches/develbranch_6/db/base/connect.c
===================================================================
--- grass/branches/develbranch_6/db/base/connect.c 2010-03-25 21:02:40 UTC (rev 41539)
+++ grass/branches/develbranch_6/db/base/connect.c 2010-03-25 21:09:30 UTC (rev 41540)
@@ -46,10 +46,10 @@
module->description =
_("Prints/sets general DB connection for current mapset and exits.");
-
print = G_define_flag();
print->key = 'p';
print->description = _("Print current connection parameters and exit");
+ print->guisection = _("Print");
check_set_default = G_define_flag();
check_set_default->key = 'c';
@@ -59,9 +59,11 @@
driver = G_define_standard_option(G_OPT_DRIVER);
driver->options = db_list_drivers();
driver->answer = (char *) db_get_default_driver_name();
+ driver->guisection = _("Settings");
database = G_define_standard_option(G_OPT_DATABASE);
database->answer = (char *) db_get_default_database_name();
+ database->guisection = _("Settings");
schema = G_define_option();
schema->key = "schema";
@@ -72,6 +74,7 @@
schema->label = _("Database schema");
schema->description = _("Do not use this option if schemas "
"are not supported by driver/database server");
+ schema->guisection = _("Settings");
group = G_define_option();
group->key = "group";
@@ -81,6 +84,7 @@
group->answer = (char*) db_get_default_group_name();
group->description = _("Default group of database users to which "
"select privilege is granted");
+ group->guisection = _("Settings");
/* commented due to new mechanism:
user = G_define_option() ;
More information about the grass-commit
mailing list