Jelajahi Sumber

parser: unify SQL parameter examples and descriptions

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@68599 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 9 tahun lalu
induk
melakukan
e6b2d8ca21
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      lib/gis/parser_standard_options.c

+ 3 - 3
lib/gis/parser_standard_options.c

@@ -143,9 +143,9 @@ struct Option *G_define_standard_option(int opt)
         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 @@ struct Option *G_define_standard_option(int opt)
 	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";