[GRASS-dev] Re: [GRASS GIS] #1259: g.remove deletes raster maps by default: could delete the wrong map

GRASS GIS trac at osgeo.org
Fri Jan 14 19:26:35 EST 2011


#1259: g.remove deletes raster maps by default: could delete the wrong map
----------------------------------------+-----------------------------------
 Reporter:  benducke                    |       Owner:  grass-dev@…              
     Type:  enhancement                 |      Status:  new                      
 Priority:  normal                      |   Milestone:  7.0.0                    
Component:  Default                     |     Version:  svn-trunk                
 Keywords:  g.remove, raster, deletion  |    Platform:  Unspecified              
      Cpu:  Unspecified                 |  
----------------------------------------+-----------------------------------

Comment(by martinl):

 From ML

 {{{
 It's "default" behaviour. If the first argument doesn't contain an "="
 character, it's assumed to be the value of the first registered
 option.

 This behaviour applies to all modules. Currently, there isn't any way
 for individual commands to disable it without resorting to "hacks",
 e.g. making the first option a dummy option (which would then show up
 in the help output and manual page).

 Glynn
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1259#comment:2>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list