d.vect is not a good example, as it should be using Vect_option_to_types(). No wonder that GRASS has so many LOC - lots of duplication ;)
Maris. 2008/10/1, Moritz Lennert <[EMAIL PROTECTED]>: > On 01/10/08 02:55, Hamish wrote: >> Markus: >>> (Un)related: could be have >>> g.gui wx >>> as a shortcut? "wxpython" is really hard to type... >> >> The opt->options part of the parser only allows through full names. > > But it should be possible to parse the answer taking into account > shorter versions. See, for example, how type_opt is parsed on lines > 478ff in display/d.vect/main.c. > > Moritz > _______________________________________________ > grass-user mailing list > grass-user@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/grass-user > _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user