Browse Source

init: use LOCATION to stand for location name in help (see https://trac.osgeo.org/grass/ticket/2681)

In the documentation of CLI and --help use simply LOCATION instead of LOCATION_NAME
because LOCATION fits with mapset. LOCATION_NAME versus LOCATION is a legacy which
does not have to be propagated to primary interface. This changes only documentation,
no iterface changes are made.


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@73353 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 6 năm trước cách đây
mục cha
commit
8fe82d0a6e
2 tập tin đã thay đổi với 9 bổ sung9 xóa
  1. 4 4
      lib/init/grass.py
  2. 5 5
      lib/init/grass7.html

+ 4 - 4
lib/init/grass.py

@@ -323,8 +323,8 @@ Geographic Resources Analysis Support System (GRASS GIS).
   $CMD_NAME [-h | --help] [-v | --version]
           [-c | -c geofile | -c EPSG:code[:datum_trans] | -c XY]
           [-e] [-f] [--text | --gtext | --gui] [--config param]
-          [[[GISDBASE/]LOCATION_NAME/]MAPSET]
-  $CMD_NAME [FLAG]... GISDBASE/LOCATION_NAME/MAPSET --exec EXECUTABLE [EPARAM]...
+          [[[GISDBASE/]LOCATION/]MAPSET]
+  $CMD_NAME [FLAG]... GISDBASE/LOCATION/MAPSET --exec EXECUTABLE [EPARAM]...
   $CMD_NAME --tmp-location [geofile | EPSG | XY] --exec EXECUTABLE [EPARAM]...
 
 {flags}:
@@ -348,11 +348,11 @@ Geographic Resources Analysis Support System (GRASS GIS).
 {params}:
   GISDBASE                       {gisdbase}
                                    {gisdbase_detail}
-  LOCATION_NAME                  {location}
+  LOCATION                       {location}
                                    {location_detail}
   MAPSET                         {mapset}
 
-  GISDBASE/LOCATION_NAME/MAPSET  {full_mapset}
+  GISDBASE/LOCATION/MAPSET       {full_mapset}
 
   EXECUTABLE                     {executable}
   EPARAM                         {executable_params}

+ 5 - 5
lib/init/grass7.html

@@ -5,7 +5,7 @@
 <b>grass77</b> [<b>-h</b> | <b>-help</b> | <b>--help</b>] [<b>-v</b> | <b>--version</b>]
     [<b>-c</b> | <b>-c geofile</b> | <b>-c EPSG:code[:datum_trans]</b>]
     [<b>--text</b> | <b>--gtext</b> | <b>--gui</b>]
-    [[[<b>&lt;GISDBASE&gt;/</b>]<b>&lt;LOCATION_NAME&gt;/</b>]
+    [[[<b>&lt;GISDBASE&gt;/</b>]<b>&lt;LOCATION&gt;/</b>]
     	<b>&lt;MAPSET&gt;</b>]
 
 <h3>Flags:</h3>
@@ -67,11 +67,11 @@ The active mapset will be PERMANENT.
 <dd> Initial database directory which should be a fully qualified path
     (e.g., <tt>/usr/local/share/grassdata</tt>)
 
-<dt><b>LOCATION_NAME</b>
+<dt><b>LOCATION</b>
 <dd> Initial location directory which is a subdirectory of GISDBASE
 
 <dt><b>MAPSET</b>
-<dd> Initial mapset directory which is a subdirectory of LOCATION_NAME
+<dd> Initial mapset directory which is a subdirectory of LOCATION
 </dl>
 
 <i>Note</i>: These parameters must be specified in one of the
@@ -79,8 +79,8 @@ following ways:
 
 <div class="code"><pre>
     MAPSET
-    LOCATION_NAME/MAPSET
-    GISDBASE/LOCATION_NAME/MAPSET
+    LOCATION/MAPSET
+    GISDBASE/LOCATION/MAPSET
 </pre></div>
 
 <h2>DESCRIPTION</h2>