[GRASS-dev] how to display a vector map for d.path in gis.m?

Glynn Clements glynn at gclements.plus.com
Tue Jan 30 17:04:32 EST 2007


Glynn Clements wrote:

> Hmm; it might be useful to have some means of automatically generating
> the corresponding g.parser description for a given command. There are
> probably quite a few scripts whose options are (almost) identical to
> an existing command. I'll look into it.

I've extended G_parser() with a --script flag, which writes out a
script with g.parser syntax to mimic the behaviour of the module. This
shoud make it easier to write scripts which mimic an existing command.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list