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 <[email protected]>
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
> _______________________________________________
> grass-dev mailing list
> [email protected]
> https://lists.osgeo.org/mailman/listinfo/grass-dev



-- 
Huidae Cho, Ph.D., GISP, PE (MD), CFM, M.ASCE
Open Source GIS Developer, GRASS GIS Development Team
_______________________________________________
grass-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to