[GRASS-dev] Exclusive rule between '--o' and another custom flag

Nikos Alexandris nik at nikosalexandris.net
Thu Dec 20 01:30:06 PST 2018


Thank you Huidae,

I recall now that I might have had asked this again :-/

Nikos

* Huidae Cho <grass4u at gmail.com> [2018-12-13 13:51:34 -0500]:

>Nikos,
>
>I don't think that's possible. parser_dependencies.c only supports
>user-defined options and flags, but you can use grass.overwrite() to
>implement your own rules.
>
>Thanks,
>Huidae
>
>On Thu, Dec 13, 2018 at 8:56 AM Nikos Alexandris <nik at nikosalexandris.net>
>wrote:
>
>>
>> Dears,
>>
>> is it possible to define an exclusive rule between the 'overwrite' flag
>> and any other custom flag, in a GRASS GIS script?
>>
>> The following is, of course, not possible:
>>
>> #%rules
>> #% exclusive: --o, -s
>> #%end
>>
>> Thank you, Nikos


More information about the grass-dev mailing list