[GRASS-dev] g.remove rast prefered

Pietro Zambelli peter.zamb at gmail.com
Sun Aug 11 03:50:26 PDT 2013


Hi Martin,

On Sunday 11 Aug 2013 11:05:44 Martin Landa wrote:
> Hi all,
> 
> AFAR there was already discussion related to g.remove/g.copy/g.rename
> modules. Before we start releasing GRASS7 tech-preview I would prefer
> to change the current behaviour.
> 
> g.remove x
> Removing raster <x>
> WARNING: Raster map <x> not found
> WARNING: <x> nothing removed
> 
> to
> 
> g.remove x
> ERROR: Invalid data element (valid options: rast,vect..)
> 
> ->
> 
> g.remove rast=x
> 
> What do you think?

+1

I like the idea!

Pietro


More information about the grass-dev mailing list