[GRASS-dev] g.gisenv in gui
Glynn Clements
glynn at gclements.plus.com
Fri Jun 8 09:21:01 EDT 2007
Hamish wrote:
> > Found another minor item that a small change could improve.
> >
> > g.gisenv does not behave like other GRASS commands in that you cannot
> > launch the autogenerated gui by typing g.gisenv¹ from the command
> > line. Instead, you get the current environment settings. You can only
> > get the gui if you run it through some special processing in the GUI.
>
> for a GUI just launch with:
> g.gisenv --ui
>
> use that as the menu command.
>
> A number of modules work like this without command line args.
In general, modules where all options have a reasonable default value
work this way. E.g. "d.erase" is equivalent to "d.erase color=white"
rather than to "d.erase --ui".
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list