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

GRASS GIS trac at osgeo.org
Wed Nov 26 01:27:08 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:19 wenzeslaus]:
 > Replying to [comment:18 martinl]:
 > > related to attachment:prefix_to_basename.diff
 > >
 > > I don't fully understand why to define key 'output' for basename
 options. I thought that `G_OPT_BASENAME_OUTPUT` will have default key like
 'basename_output' or 'output_basename' (better for backward
 compatibility). Similarly `G_OPT_BASENAME_INPUT` 'input_basename'.
 >
 > Currently, it seems to me that the current option naming policy is to
 use input or output regardless of type. So input can be raster for one
 module but vector or imagery group for another. Basename is just another
 item in the list of possible types/meanings.

 OK, done in r62966

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



More information about the grass-dev mailing list