[GRASS-dev] [GRASS GIS] #2317: G7: t.* modules suboptimal flag name -h, change to -c

GRASS GIS trac at osgeo.org
Mon Jun 2 05:59:49 PDT 2014


#2317: G7: t.* modules suboptimal flag name -h, change to -c
-------------------------+--------------------------------------------------
 Reporter:  neteler      |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  Temporal     |     Version:  svn-releasebranch70      
 Keywords:               |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 The temporal modules use a suboptimal flag name (raising confusion
 between -h versus --h). This affects several t.* modules:

 {{{
 currently:
   -h   Print the column names as first row
  --h   Print usage summary
 }}}

 IMHO it is better to invert this behaviour as to "-c" in v.db.select:

 {{{
   -c   Do not include column names in output
 }}}

 unless there is a strong need to NOT put the column names by default
 (which I think would be helpful for the user).

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2317>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list