[GRASS-dev] [GRASS GIS] #1978: module GUIs: "or enter values interactively" should be opt-in
GRASS GIS
trac at osgeo.org
Sun May 26 13:44:23 PDT 2013
#1978: module GUIs: "or enter values interactively" should be opt-in
--------------------+-------------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: wxGUI | Version: svn-trunk
Keywords: parser | Platform: All
Cpu: All |
--------------------+-------------------------------------------------------
Comment(by glynn):
Replying to [ticket:1978 hamish]:
> (also it seems the above a,b,c have been continually redefined since the
tcltk gui days, so we should better sort out what it means now if
gisprompt is to be different in grass7)
GRASS 7 no longer has any of the "ask" functions.
The first component (age) is used within the parser in relation to
overwrite checks. If the age component is "new" and overwrite isn't
enabled, then the second component (element) is used to determine whether
the specified entity already exists.
Also, `G__uses_new_gisprompt()` returns true if any option has an age of
"new"; this causes the the --overwrite option to be listed as a recognised
flag in the output for --help etc.
The third component (prompt) is no longer used directly by libgis,
although it may be used by the GUI.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1978#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list