[GRASS5] [bug #1399] (grass) g.remove some files easier than others

Glynn Clements glynn.clements at virgin.net
Thu Nov 7 00:39:18 EST 2002


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 at virgin.net>




More information about the grass-dev mailing list