[GRASS-dev] Re: [GRASS GIS] #254: wxpython Layer Manager: higher raster hides the lower (GRASS GIS)

Martin Landa landa.martin at gmail.com
Fri Aug 15 11:30:40 EDT 2008


Hi,

2008/8/15 Glynn Clements <glynn at gclements.plus.com>:

[...]

>> well, I think the 'gui' parameter should stay required. Maybe I am
>> missing something, but what is wrong on the required parameter with
>> defined default value?
>
> You are misunderstanding the meaning of the ->required field.
>
> The ->required field indicates that the option must be provided *by
> the program's arguments*. Given that any value which is provided by
> the program's arguments will override any default value, there is no
> point in both setting the ->required field and providing a default
> value, as the ->required setting ensures that the default will always
> be overriden.

thanks for the clarification, I have updated g.gui accordingly.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *


More information about the grass-dev mailing list