this bug's URL: http://intevation.de/rt/webrt?serial_num=1399
-------------------------------------------------------------------------
Subject: g.remove some files easier than others
Platform: GNU/Linux/i386
grass obtained from: Mirror of Trento site
grass binary for platform: Compiled from Sources
GRASS Version: 5.0pre1
g.remove some_raster_file
works right on the command line,
but for 3dview files one must say 3dview=name
My point is that raster files seem the default, but this is
not documented on the man page, and therefore should be.
-------------------------------------------- Managed by Request Tracker
Request Tracker wrote:
g.remove some_raster_file
works right on the command line,
but for 3dview files one must say 3dview=name
My point is that raster files seem the default, but this is
not documented on the man page, and therefore should be.
According to the g.remove manpage, you must always specify the element
type, e.g.
g.remove rast=name
g.remove 3dview=name
etc.
There is nothing in the g.remove manpage which suggests that
g.remove name
will work; the fact that it does is an artifact of the generic
command-line parser, which always allows the first option name to be
omitted.
If this should be documented anywhere, it should be in the parser(1)
manpage (which currently doesn't provide much information other than
to refer to the programmer's manual).
--
Glynn Clements <glynn.clements@virgin.net>