On Wed, Jul 2, 2008 at 4:45 PM, Hamish <[EMAIL PROTECTED]> wrote: > Paul: >> Flags that are interpreted by the GRASS module option >> parser and have a common meaning to all modules are prefixed >> by --. There is a fixed number of these (see lib/gis/parser.c >> for details). The interpretation of flags with a single - is >> defined by individual modules when they call G_parser() >> and the meaning of single - flags is individually dependent >> on each module. > > see http://grass.osgeo.org/wiki/Module_command_line_parser
Thanks - so I will hardcode them at the moment following that description. > > >> I wonder if the special parser flags should be left out of >> the --interface-description output. > > note that --overwrite comes and goes depending of if it is relevant > to the module. > > re. the module list of flag from r.buffer --help: the vertical descriptions > of flags uses the short version (--q), but note that the top USAGE: line > has the long version. Both ways are listed there on purpose as a hint. > > > Hamish > > > > > > -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Plant Conservation Unit Department of Botany University of Cape Town Rondebosch 7701 South Africa _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
