[GRASS-SVN] r68599 - grass/trunk/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jun 4 12:10:14 PDT 2016


Author: wenzeslaus
Date: 2016-06-04 12:10:14 -0700 (Sat, 04 Jun 2016)
New Revision: 68599

Modified:
   grass/trunk/lib/gis/parser_standard_options.c
Log:
parser: unify SQL parameter examples and descriptions

Modified: grass/trunk/lib/gis/parser_standard_options.c
===================================================================
--- grass/trunk/lib/gis/parser_standard_options.c	2016-06-04 18:56:43 UTC (rev 68598)
+++ grass/trunk/lib/gis/parser_standard_options.c	2016-06-04 19:10:14 UTC (rev 68599)
@@ -143,9 +143,9 @@
         Opt->type = TYPE_STRING;
         Opt->key_desc = "sql_query";
         Opt->required = NO;
-        Opt->label = _("SQL select statement");
+        Opt->label = _("SQL SELECT statement");
         Opt->description =
-            _("For example: 'select * from rybniky where kapri = 'hodne'");
+            _("Example: select * from towns where population > 10000");
         break;
     case G_OPT_DB_WHERE:
 	Opt->key = "where";
@@ -153,7 +153,7 @@
 	Opt->key_desc = "sql_query";
 	Opt->required = NO;
 	Opt->label = _("WHERE conditions of SQL statement without 'where' keyword");
-	Opt->description = _("Example: income < 1000 and inhab >= 10000");
+	Opt->description = _("Example: income < 1000 and population >= 10000");
 	break;
     case G_OPT_DB_TABLE:
 	Opt->key = "table";



More information about the grass-commit mailing list