[GRASS-dev] Parser checking output maps but not input maps

2015-06-30 Thread Vaclav Petras
Hi, is there some reason for GRASS parser not checking if the input map exists? It checks if the output map exists and if it it does it ends execution with an error. Having this interface definition (full script attached): #%option G_OPT_R_INPUT #% key: elevation #%end #%option G_OPT_R_OUTPUT

[GRASS-dev] table with the parser standard options

2015-06-30 Thread Pietro
Dear devs, I was not able to find a table in the GRASS manual pages with a summary of all the default options as define in parser_standard_options.c (lib/gis/parser_standard_options.c). Therefore I wrote a python command line tool to extract them from the source and print/write to a file in