[GRASS-dev] Quiet module output

Moritz Lennert mlennert at club.worldonline.be
Thu Mar 21 03:49:56 PDT 2013

On 21/03/13 11:18, Johannes Radinger wrote:
> Hi,
> thank you for the hint with GRASS_VERBOSE...
> [all modules]
> toggles verbosity level
> 0 - only errors and warnings are printed
> 1 - progress messages are printed (percent complete)
> 2 - all module messages are printed
> 3 - additional verbose messages are printed
> This variable is automatically created by g.parser so that the
> --verbose or --quiet flags will be inherited by dependent modules as
> the script runs.
> What is still unclear to me: Setting the --quiet flag in a script
> using g.parser (what I am doing) automatically sets the GRASS_VERBOSE
> variable to 1?

--quiet should set it to 0 (actually to MINLEVEL, but that is defined as 
0 in lib/gis/verbose.c).

I can confirm that:

r.stats elevation -c

gives me the percent complete info.

r.stats elevation -c --quiet



More information about the grass-dev mailing list