[GRASS-dev] Force --v flag whenever -l is instructed

Nikos Alexandris nik at nikosalexandris.net
Sat Oct 7 01:39:46 PDT 2017


In a grassy script, how can I force verbosity, i.e. --v whenever a flag
-l is instructed? Which will lead to

env['GRASS_VERBOSE'] = '3'

?


i.some.module input=some_input -l

should be identical to

i.some.module input=some_input -l --v


The following is, of course, not working:

#%rules
#% requires_all: -l,--v
#%end


Regards, Nikos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20171007/573ecbce/attachment.sig>


More information about the grass-dev mailing list