[GRASS-dev] [GRASS GIS] #1778: Typing in g.region without parameters does not open a g.region window
GRASS GIS
trac at osgeo.org
Mon Aug 26 14:21:17 PDT 2013
#1778: Typing in g.region without parameters does not open a g.region window
----------------------------------------+-----------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: Default | Version: svn-trunk
Keywords: g.region, r.colors, r.mask | Platform: Linux
Cpu: x86-64 |
----------------------------------------+-----------------------------------
Comment(by glynn):
Replying to [comment:5 mlennert]:
> ISTR that there is an option to mark several parameters as "at least one
of these is required", but I can't find how to do this in the programmer's
manual.
No such feature exists at present, although it has been discussed on
occasion.
The only thing that has changed between 6.x and 7.0 in this regard is that
in 7.0, flags have a ->suppress_required field. If set, the parser won't
complain about "required" options not being provided if the flag is used.
This is useful for flags which perform a "show current status" function
for modules which normally have required options.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1778#comment:7>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list