[GRASS5] -q flag for r.cats and other commands

Radim Blazek blazek at itc.it
Thu Jul 18 10:30:25 EDT 2002


On Thursday 18 July 2002 04:06 pm, John A. Preston wrote:
> > Having said that, any error message generated by G_fatal_error() will
> > begin with "ERROR:", and any warning message generated by G_warning()
> > will begin with "WARNING:"[1].
>
> That's what I need for now.

Remember that long messages are split to more rows:
----------------------------------------------------------------------
WARNING: A map which is not in the current mapset cannot be opened for
         update.
----------------------------------------------------------------------

You can change the way messages are printed in libes/gis/error.c

Radim



More information about the grass-dev mailing list