[GRASS-dev] Re: [GRASS GIS] #1031: More specific parameter information in command line help

GRASS GIS trac at osgeo.org
Mon Apr 12 17:50:00 EDT 2010


#1031: More specific parameter information in command line help
--------------------------+-------------------------------------------------
  Reporter:  huhabla      |       Owner:  grass-dev at lists.osgeo.org
      Type:  enhancement  |      Status:  new                      
  Priority:  minor        |   Milestone:  7.0.0                    
 Component:  libgis       |     Version:  svn-trunk                
Resolution:               |    Keywords:  parser, help             
  Platform:  All          |         Cpu:  All                      
--------------------------+-------------------------------------------------
Comment (by glynn):

 Replying to [comment:5 huhabla]:
 > I have attached a patch for lib/gis/parser_help.c and
 lib/gis/parser_stanndard_options.c which implements the discussed ideas.

 1. The patch makes unnecessary formatting changes, which also contravene
 the GRASS formatting conventions. In general, formatting changes should be
 kept separate from other changes to make it easier to review the substance
 of the changes. But in this case, the formatting changes just shouldn't be
 there.

 2. The updated output is unnecessarily verbose, which is a bad thing IMHO.
 The "required" and "multiple" status can already be determined from the
 "Usage:" section. Non-required options are listed in square brackets,
 while multiple options use the "option=value,..." convention. If you
 really want this format, it should be a separate option, e.g. --verbose-
 help.

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


More information about the grass-dev mailing list