Better document -v option.

This commit is contained in:
Darko Poljak 2016-11-30 23:25:31 +01:00
parent e7c3c15724
commit b819507415
2 changed files with 6 additions and 4 deletions

View file

@ -50,8 +50,9 @@ All commands accept the following options:
.. option:: -v, --verbose
Increase log level, be more verbose. The order of levels from lowest to
greatest are: ERROR, WARNING, INFO, DEBUG.
Increase log level, be more verbose. Use it more than onceto increase
log level. The order of levels from the lowest to the greatest are:
ERROR, WARNING, INFO, DEBUG.
.. option:: -V, --version

View file

@ -94,8 +94,9 @@ def commandline():
action='store_true', default=False)
parser['loglevel'].add_argument(
'-v', '--verbose',
help=('Increase log level, be more verbose. The order of levels '
'from lowest to greatest are: ERROR, WARNING, INFO, DEBUG.'),
help=('Increase log level, be more verbose. Use it more than once '
'to increase log level. The order of levels from the lowest '
'to the greatest are: ERROR, WARNING, INFO, DEBUG.'),
action='count', default=0)
# Main subcommand parser