forked from ungleich-public/cdist
Better document -v option.
This commit is contained in:
parent
e7c3c15724
commit
b819507415
2 changed files with 6 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue