[GRASS-dev] Re: requring explicit input=-

Martin Landa landa.martin at gmail.com
Sat Sep 24 10:34:00 EDT 2011


2011/9/24 Hamish <hamish_b at 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


More information about the grass-dev mailing list