Pārlūkot izejas kodu

python verbosity docs: minor layout fixes (#1004)

Markus Neteler 4 gadi atpakaļ
vecāks
revīzija
aeb6e8cada
1 mainītis faili ar 9 papildinājumiem un 5 dzēšanām
  1. 9 5
      lib/python/script/core.py

+ 9 - 5
lib/python/script/core.py

@@ -8,7 +8,7 @@ Usage:
     from grass.script import core as grass
     from grass.script import core as grass
     grass.parser()
     grass.parser()
 
 
-(C) 2008-2014 by the GRASS Development Team
+(C) 2008-2020 by the GRASS Development Team
 This program is free software under the GNU General Public
 This program is free software under the GNU General Public
 License (>=v2). Read the file COPYING that comes with GRASS
 License (>=v2). Read the file COPYING that comes with GRASS
 for details.
 for details.
@@ -1514,10 +1514,14 @@ def verbosity():
 
 
     Currently, there are 5 levels of verbosity:
     Currently, there are 5 levels of verbosity:
     -1 nothing will be printed (also fatal errors and warnings will be discarded)
     -1 nothing will be printed (also fatal errors and warnings will be discarded)
-     0 only errors and warnings are printed, triggered by --q or --quiet flag.
-     1 progress information (percent) and important messages will be printed
-     2 all messages will be printed
-     3 also verbose messages will be printed. Triggered by --v or --verbose flag.
+
+    0 only errors and warnings are printed, triggered by <tt>--q</tt> or <tt>--quiet</tt> flag.
+
+    1 progress information (percent) and important messages will be printed
+
+    2 all messages will be printed
+
+    3 also verbose messages will be printed. Triggered by <tt>--v or <tt>--verbose</tt> flag.
     """
     """
     vbstr = os.getenv('GRASS_VERBOSE')
     vbstr = os.getenv('GRASS_VERBOSE')
     if vbstr:
     if vbstr: