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 CSV/HTML format. Probably I should use regexp but I'm not good with them...
The command line tool is attached. Some usage example are: $ python2 options.py -t lib/gis/parser_standard_options.c -f csv -o stadard_options.csv The command line should be able also to download the source file directly from a link but it works only partially. I believe we should add the generated table somewhere in the manual docs. Should I add this python script to grass_addons/tools? What do you think? Pietro
options.py
Description: Binary data
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev