2011/9/24 Hamish <hamis...@yahoo.com>: > can anyone think of a case where "-" would ever be used as an > arbit'rary string, not meaning stdin? > I guess it is a similar probability to someone wanting to use a > literal "-" as a file or map name. g.message is all I can think > of, but that's not used in the gui menu.
I don't know, anyway this rude check can be always replaced by full check (gtask.parse_command/interface). wxGUI is quite over-complicated (too much commands running on the background), let's try a simple check first (without checking type of the options). Martin -- Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev