[GRASS-dev] Re: requring explicit input=-
Glynn Clements
glynn at gclements.plus.com
Sat Sep 24 11:24:37 EDT 2011
Hamish wrote:
> can anyone think of a case where "-" would ever be used as an
> arbitrary 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.
"-" doesn't have to be special-cased for all options, only for options
with gisprompt == "old,file,input" (output=- isn't a problem). If an
old,file,input option has a default value of "-", the GUI should
discard the default.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list