[GRASS-SVN] r51387 - grass/branches/develbranch_6/db/base

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Apr 12 08:38:13 EDT 2012


Author: martinl
Date: 2012-04-12 05:38:13 -0700 (Thu, 12 Apr 2012)
New Revision: 51387

Modified:
   grass/branches/develbranch_6/db/base/execute.c
Log:
db.execute: note `input=-` for reading standard input


Modified: grass/branches/develbranch_6/db/base/execute.c
===================================================================
--- grass/branches/develbranch_6/db/base/execute.c	2012-04-12 12:36:52 UTC (rev 51386)
+++ grass/branches/develbranch_6/db/base/execute.c	2012-04-12 12:38:13 UTC (rev 51387)
@@ -114,8 +114,9 @@
 
     input = G_define_standard_option(G_OPT_F_INPUT);
     input->required = NO;
-    input->description = _("Name of file containing SQL statements");
+    input->label = _("Name of file containing SQL statements");
     input->guisection = _("Query");
+    input->description = _("If not given or '-' read from standard input");
     
     driver = G_define_standard_option(G_OPT_DRIVER);
     driver->options = db_list_drivers();



More information about the grass-commit mailing list