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

GRASS GIS trac at osgeo.org
Wed Nov 26 00:32:30 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:31 glynn]:
 > Except: d.vect currently has both bgcolor= (label background color) and
 bcolor= (label border colour). If these were changed to background_color
 and border_color, bcolor would be rejected as ambiguous.

 It has been already renamed to `label_bgcolor` and `label_bcolor` in
 r62945.

 > Another possibility with regards to abbreviating compound words would be
 to use an upper-case letter (rather than a specific character, such as the
 single quote in the previous example), so backGround_color would work like
 back_ground_color but arguably isn't quite as ugly. Similarly, "columnS"
 doesn't seem as bad as column_s.

 I thought we have a rule not to use uppercase in key names. I would
 personally keep it.

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



More information about the grass-dev mailing list