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

GRASS GIS trac at osgeo.org
Tue Nov 25 03:12:15 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:24 martinl]:
 > Do we prefer to leave as it is or change to
 >
 > {{{
 > background_color
 > }}}
 >
 > ?
 >
 > Then it can be abbreviated to
 >
 > {{{
 > bcolor
 > }}}
 >
 > but not to
 >
 > {{{
 > bgcolor
 > }}}

 The attachment:renamed_options.diff adds to the parser support for renamed
 options. Eg.

 {{{
 d.erase bgcolor=black
 }}}

 will continue to work with appropriate warning

 {{{
 WARNING: Please update the interface of the module: option <bgcolor> has
 been renamed to <background_color> in GRASS 7.0
 }}}

 Make sense to you?

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



More information about the grass-dev mailing list