[GRASS-dev] small patch for lib/vector/transform/
Hamish
hamish_nospam at yahoo.com
Mon Jun 4 04:14:57 EDT 2007
Dylan:
> > good call, that was definitely bad style on my part. Instead of
> > debug, a flag might be a good option?
Glynn:
> Within the module, you can use G_verbose_message() for messages which
> should only printed when --verbose is used. Or you could add a
> specific flag.
Output intended to be parsable should use fprintf(stdout, "..." ,,,);
G_*_message() and G_debug() will output to stderr and are more for
messages than outputing data.
A flag for output is a nice idea, whichever stdout or stderr you feel is
more appropriate.
Hamish
More information about the grass-dev
mailing list