[GRASS-dev] [GRASS GIS] #2409: last call for options keys consolidation

GRASS GIS trac at osgeo.org
Mon Dec 8 09:57:59 PST 2014


#2409: last call for options keys consolidation
----------------------------------+-----------------------------------------
 Reporter:  martinl               |       Owner:  grass-dev@…              
     Type:  task                  |      Status:  new                      
 Priority:  blocker               |   Milestone:  7.0.0                    
Component:  Default               |     Version:  unspecified              
 Keywords:  standardized options  |    Platform:  Unspecified              
      Cpu:  Unspecified           |  
----------------------------------+-----------------------------------------

Comment(by martinl):

 Replying to [comment:101 glynn]:

 > So e.g. if a module has "raster" and "raster_3d" options, "r", "rast"
 and "raster" would all be deemed to unambiguously refer to "raster", while
 any abbreviation intended to refer to "raster_3d" would have to include
 the "3" (e.g. "r3", "r3d", "rast3", "rast3d", ...) to ensure that it
 cannot also match "raster".

 I have prepared for testing a new patch based on your suggestion
 attachment:raster_3d.diff

 Then

 {{{
 g.list rast3d
 }}}

 will work. The patch contains modification of the parser to understand
 `rast`

 {{{
 g.list rast
 WARNING: Please update the usage of <g.list>: option <rast> has been
 renamed to <raster>
 ...
 }}}

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



More information about the grass-dev mailing list