[GRASS-user] GRASS module (python, gparser): Set a tick for flag by default

Johannes Radinger JRadinger at gmx.at
Fri Apr 20 04:59:38 EDT 2012


Hi,

I am working on a python script which involves a g.parser module (to get the input mask for a module as for other modules in GRASS).

So far I know how a flag is produced in the beginning of the script.
E.g.:

#%Flag
#% key: f
#% description: My Flag of Interest
#%end

Is there any possibility to set the flag ticked by default? So like providing
an answer for "options".

Best regards,

Johannes
-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                                  
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a


More information about the grass-user mailing list