Thanks all for the trick, > Added to > http://grass.osgeo.org/wiki/GRASS_Python_Scripting_Library#Parsing_the_options_and_flags Perfect place for it I reckon, Pierre -- Scientist Landcare Research, New Zealand