raster MASKs; was [GRASS-dev] interferring ovewrite flags

Glynn Clements glynn at gclements.plus.com
Tue Oct 10 00:04:09 EDT 2006

Michael Barton wrote:

> Back to the original question.
> I'd like users to be able to choose to overwrite an existing MASK from the
> GUI in r.mask. 
> AFAICT, this is only possible by making an overwrite flag of some kind in
> the script. Currently it is -o (unless someone has changed it). The
> system-wide flag --o also causes the script to be in overwrite mode. So what
> is the best solution?
> 1) leave it as is (-o and --o will overwrite the existing MASK). Is this
> really a problem?
> 2) make the flag another letter (Glynn nixed -f)?
> 3) a different solution that I haven't thought of?

I'd say #1, although I would add to the flag's description something
along the lines of "(deprecated; use --o instead)".

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list