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

GRASS GIS trac at osgeo.org
Thu Dec 4 11:06:23 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 glynn):

 Replying to [comment:100 martinl]:
 > Does it make sense to you?

 Not really. I'd much prefer a general solution, i.e. if an abbreviation
 matches multiple options, and one of them is a prefix of all of the
 others, the abbreviation should be deemed to unambiguously refer to the
 prefix option.

 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".

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



More information about the grass-dev mailing list