logging: improve help for log_level

This commit is contained in:
Daniel Hahler 2020-03-01 21:57:29 +01:00
parent 5819536f00
commit bdd22fdd52
1 changed files with 6 additions and 1 deletions

View File

@ -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",