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

Huidae Cho grass4u at gmail.com
Thu Dec 13 10:51:34 PST 2018


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
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20181213/a5f47c8a/attachment.html>


More information about the grass-dev mailing list