[GRASS-dev] Re: [GRASS GIS] #1641: overwrite flag not mentioned in
help file r.mask
GRASS GIS
trac at osgeo.org
Mon Apr 16 16:59:33 EDT 2012
#1641: overwrite flag not mentioned in help file r.mask
-------------------------------+--------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Default | Version: unspecified
Keywords: help file, r.mask | Platform: All
Cpu: x86-64 |
-------------------------------+--------------------------------------------
Comment(by glynn):
Replying to [comment:1 neteler]:
> Indeed, r.mask --help lacks
{{{
--o Allow output files to overwrite existing files
}}}
>
> I don't know why - to be fixed.
Because r.mask doesn't have any options with "gisprompt: new,..." (the
output map name is hard-coded as "MASK", so there isn't any suitable
option).
In C modules, you can force --o to be documented by setting the
"overwrite" field of the GModule structure before calling G_parser(), but
there isn't any way to do this for scripts (it would require an
enhancement to g.parser).
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1641#comment:2>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list