[GRASS-dev] Re: [GRASS GIS] #156: new attribute in Option struct to
allow conditional options requirement
GRASS GIS
trac at osgeo.org
Mon May 5 03:23:47 EDT 2008
#156: new attribute in Option struct to allow conditional options requirement
----------------------+-----------------------------------------------------
Reporter: martinl | Owner: grass-dev at lists.osgeo.org
Type: task | Status: new
Priority: major | Milestone: 7.0.0
Component: default | Version: svn-trunk
Resolution: | Keywords: parser, required, conditional
----------------------+-----------------------------------------------------
Comment (by hamish):
Martin:
> This can be solved with a new attribute in Option struct
> which tells the parser not to worry about testing all required
> options=
..
> f_flag->suppress_required=YES;
i.e. a new attribute in the '''Flag''' struct.
other (shorter) ideas what to call it.....
{{{
flag->runandexit
flag->reqnotreq
flag->skip_req
flag->ignore_req
...
}}}
Hamish
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/156#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list