minor: clarify help with reportchars
`-ra` / `-rA` will include "w" also. This does not explicitly mention it (allowing for change the behavior), but makes it a) clearer that "w" is a recognized reportchar, and b) less confusing that `-ra --disable-warnings` still displays them.
This commit is contained in:
parent
3d01dd3adf
commit
01a094cc43
|
@ -76,8 +76,7 @@ def pytest_addoption(parser):
|
||||||
help="show extra test summary info as specified by chars: (f)ailed, "
|
help="show extra test summary info as specified by chars: (f)ailed, "
|
||||||
"(E)rror, (s)kipped, (x)failed, (X)passed, "
|
"(E)rror, (s)kipped, (x)failed, (X)passed, "
|
||||||
"(p)assed, (P)assed with output, (a)ll except passed (p/P), or (A)ll. "
|
"(p)assed, (P)assed with output, (a)ll except passed (p/P), or (A)ll. "
|
||||||
"Warnings are displayed at all times except when "
|
"(w)arnings are enabled by default (see --disable-warnings).",
|
||||||
"--disable-warnings is set.",
|
|
||||||
)
|
)
|
||||||
group._addoption(
|
group._addoption(
|
||||||
"--disable-warnings",
|
"--disable-warnings",
|
||||||
|
|
Loading…
Reference in New Issue