[GRASS-CVS] hamish: grass6/lib/gis verbose.c,2.11,2.12

grass at intevation.de grass at intevation.de
Tue Dec 4 04:31:56 EST 2007


Author: hamish

Update of /grassrepository/grass6/lib/gis
In directory doto:/tmp/cvs-serv22816

Modified Files:
	verbose.c 
Log Message:
clean up comments. With G_verbose_message() --verbose can now work
without special checks in the modules for the level.


Index: verbose.c
===================================================================
RCS file: /grassrepository/grass6/lib/gis/verbose.c,v
retrieving revision 2.11
retrieving revision 2.12
diff -u -d -r2.11 -r2.12
--- verbose.c	12 Feb 2007 05:48:35 -0000	2.11
+++ verbose.c	4 Dec 2007 09:31:54 -0000	2.12
@@ -32,13 +32,13 @@
  *
  * \brief Get current verbosity level.
  *
- * "--v" required if (G_verbose() == G_verbose_max()) tests.
  * Currently, there are 4 levels of verbosity.
  *
- * \return 0 - module should print nothing but errors and warnings (G_fatal_error, G_warning)
+ * \return 0 - module should print nothing but errors and warnings
+ *		(G_fatal_error, G_warning). Triggered by "--q" or "--quiet".
  * \return 1 - module will print progress information (G_percent)
  * \return 2 - module will print all messages (G_message)
- * \return 3 - module will be very verbose. Triggered by "--v".
+ * \return 3 - module will be very verbose. Triggered by "--v" or "--verbose".
  */
 
 int G_verbose (void)




More information about the grass-commit mailing list