grass72 --version (return code: 0)
GRASS GIS 7.2.1
Geographic Resources Analysis Support System (GRASS) is Copyright,
1999-2017 by the GRASS Development Team, and licensed under terms of the
GNU General Public License (GPL) version >=2.
This GRASS GIS 7.2.1 release is coordinated and produced by
the GRASS Development Team with contributions from all over the world.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
Default locale not found, using UTF-8
grass72 --help (return code: 0)
GRASS GIS 7.2.1
Geographic Resources Analysis Support System (GRASS GIS).
Usage:
grass72 [-h | -help | --help | --h] [-v | --version]
[-c | -c geofile | -c EPSG:code[:datum_trans]]
[-e] [-f] [-text | -gtext | -gui] [--config param]
[[[GISDBASE/]LOCATION_NAME/]MAPSET]
grass72 [FLAG]... GISDBASE/LOCATION_NAME/MAPSET --exec EXECUTABLE [EPARAM]...
Flags:
-h or -help or --help or --h print this help message
-v or --version show version information and exit
-c create given database, location or mapset if it doesn't exist
-e exit after creation of location or mapset. Only with -c flag
-f force removal of .gislock if exists (use with care!). Only with -text flag
-text use text based interface (skip welcome screen)
and set as default
-gtext use text based interface (show welcome screen)
and set as default
-gui use wxpython graphical user interface
and set as default
--config print GRASS configuration parameters
options: arch,build,compiler,path,revision
--exec EXECUTABLE execute GRASS module or script
provided executable will be executed in GRASS session
Parameters:
GISDBASE initial GRASS GIS database directory
directory containing Locations
LOCATION_NAME initial GRASS Location
directory containing Mapsets with one common coordinate system (projection)
MAPSET initial GRASS Mapset
GISDBASE/LOCATION_NAME/MAPSET fully qualified initial Mapset directory
EXECUTABLE GRASS module, script or any other executable
EPARAM parameters of the executable
FLAG standard flags
Environment variables relevant for startup:
GRASS_GUI select GUI (text, gui, gtext)
GRASS_HTML_BROWSER set html web browser for help pages
GRASS_ADDON_PATH set additional path(s) to local GRASS modules or user scripts
GRASS_ADDON_BASE set additional GISBASE for locally installed GRASS Addons
GRASS_BATCH_JOB shell script to be processed as batch job
GRASS_PYTHON set Python interpreter name to override 'python'
Default locale not found, using UTF-8