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

GRASS GIS trac at osgeo.org
Tue Nov 25 12:07:36 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:24 martinl]:

 > Do we prefer to leave as it is or change to
 >
 {{{
 background_color
 }}}
 >
 > ?
 >
 > Then it can be abbreviated to
 >
 {{{
 bcolor
 }}}

 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.

 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.

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



More information about the grass-dev mailing list