logging: improve help for log_level
This commit is contained in:
parent
5819536f00
commit
bdd22fdd52
|
@ -194,7 +194,12 @@ def pytest_addoption(parser):
|
|||
"--log-level",
|
||||
dest="log_level",
|
||||
default=None,
|
||||
help="logging level used by the logging module",
|
||||
metavar="LEVEL",
|
||||
help=(
|
||||
"level of messages to catch/display.\n"
|
||||
"Not set by default, so it depends on the root/parent log handler's"
|
||||
' effective level, where it is "WARNING" by default.'
|
||||
),
|
||||
)
|
||||
add_option_ini(
|
||||
"--log-format",
|
||||
|
|
Loading…
Reference in New Issue