> > The opt->options part of the parser only allows
> through full names.
Moritz Lennert wrote:
> 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.
sure there's code in d.vect to handle it, but the parser won't actually
let you give anything but the full words listed in the ->options line.
G64> d.vect fields type=bound --q
ERROR: value <bound> out of range for parameter <type>
Legal range: point,line,boundary,centroid,area,face
Hamish
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user