[GRASS-SVN] r50631 - grass/trunk/db/db.drivers

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 2 07:13:47 EST 2012


Author: martinl
Date: 2012-02-02 04:13:47 -0800 (Thu, 02 Feb 2012)
New Revision: 50631

Modified:
   grass/trunk/db/db.drivers/main.c
Log:
db.drivers: cosmetics in description


Modified: grass/trunk/db/db.drivers/main.c
===================================================================
--- grass/trunk/db/db.drivers/main.c	2012-02-02 12:10:11 UTC (rev 50630)
+++ grass/trunk/db/db.drivers/main.c	2012-02-02 12:13:47 UTC (rev 50631)
@@ -5,7 +5,7 @@
  * AUTHOR(S):    Radim Blazek <radim.blazek gmail.com> (original contributor)
  *               Glynn Clements <glynn gclements.plus.com>, Markus Neteler <neteler itc.it>, Stephan Holl
  * PURPOSE:      lists all database drivers
- * COPYRIGHT:    (C) 2002-2006 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2002-2006, 2012 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS
@@ -36,8 +36,7 @@
 
     list = db_read_dbmscap();
     if (list == NULL) {
-	G_message(_("Error trying to read dbmscap file\n"));
-	exit(EXIT_FAILURE);
+	G_fatal_error(_("Unable to read dbmscap file"));
     }
 
     for (p = list; p; p = p->next) {
@@ -65,13 +64,13 @@
 
     print = G_define_flag();
     print->key = 'p';
-    print->description = _("print drivers and exit");
+    print->description = _("Print drivers and exit");
 
     /* Set description */
     module = G_define_module();
     G_add_keyword(_("database"));
-    G_add_keyword(_("attribute table"));
-    module->description = _("List all database drivers.");
+    G_add_keyword(_("drivers"));
+    module->description = _("Lists all database drivers.");
 
     if (G_parser(argc, argv))
 	exit(EXIT_FAILURE);



More information about the grass-commit mailing list