[GRASS-SVN] r30638 - grass/trunk/db/base
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Mar 19 07:18:23 EDT 2008
Author: martinl
Date: 2008-03-19 07:18:23 -0400 (Wed, 19 Mar 2008)
New Revision: 30638
Modified:
grass/trunk/db/base/describe.c
Log:
db.describe: exit with EXIT_FAILURE when G_parser() fails
Cosmetics in the header
Modified: grass/trunk/db/base/describe.c
===================================================================
--- grass/trunk/db/base/describe.c 2008-03-19 11:02:14 UTC (rev 30637)
+++ grass/trunk/db/base/describe.c 2008-03-19 11:18:23 UTC (rev 30638)
@@ -2,9 +2,11 @@
*
* MODULE: db.describe
* AUTHOR(S): Radim Blazek <radim.blazek gmail.com> (original contributor)
- * Glynn Clements <glynn gclements.plus.com>, Markus Neteler <neteler itc.it>, Stephan Holl
- * PURPOSE: displays table information
- * COPYRIGHT: (C) 2002-2007 by the GRASS Development Team
+ * Glynn Clements <glynn gclements.plus.com>,
+ * Markus Neteler <neteler itc.it>,
+ * Stephan Holl
+ * PURPOSE: Displays table information
+ * COPYRIGHT: (C) 2002-2008 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
@@ -125,7 +127,7 @@
module->description = _("Describes a table in detail.");
if(G_parser(argc, argv))
- exit (EXIT_SUCCESS);
+ exit (EXIT_FAILURE);
parms.driver = driver->answer;
parms.database = database->answer;
More information about the grass-commit
mailing list