[GRASS-SVN] r73100 - grass/trunk/lib/init
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Aug 14 19:48:03 PDT 2018
Author: wenzeslaus
Date: 2018-08-14 19:48:03 -0700 (Tue, 14 Aug 2018)
New Revision: 73100
Modified:
grass/trunk/lib/init/grass.py
Log:
init: advertise the double dash option in help text
Both are supported already for a long time, --text is the more standard
(comparing to -text) plus it is the one used with long flags for modules
(e.g. --verbose). For now, one dash is still supported, so not warning
the user when -text etc are used.
See also wiki:Grass8Planning#grassexecutable and comment:2:ticket:3585.
Modified: grass/trunk/lib/init/grass.py
===================================================================
--- grass/trunk/lib/init/grass.py 2018-08-15 02:24:28 UTC (rev 73099)
+++ grass/trunk/lib/init/grass.py 2018-08-15 02:48:03 UTC (rev 73100)
@@ -289,7 +289,7 @@
{usage}:
$CMD_NAME [-h | -help | --help | --h] [-v | --version]
[-c | -c geofile | -c EPSG:code[:datum_trans] | -c XY]
- [-e] [-f] [-text | -gtext | -gui] [--config param]
+ [-e] [-f] [--text | --gtext | --gui] [--config param]
[[[GISDBASE/]LOCATION_NAME/]MAPSET]
$CMD_NAME [FLAG]... GISDBASE/LOCATION_NAME/MAPSET --exec EXECUTABLE [EPARAM]...
$CMD_NAME --tmp-location [geofile | EPSG | XY] --exec EXECUTABLE [EPARAM]...
@@ -300,11 +300,11 @@
-c {create}
-e {exit_after}
-f {force_removal}
- -text {text}
+ --text {text}
{text_detail}
- -gtext {gtext}
+ --gtext {gtext}
{gtext_detail}
- -gui {gui}
+ --gui {gui}
{gui_detail}
--config {config}
{config_detail}
More information about the grass-commit
mailing list