Add missing space in '--version' help message
This commit is contained in:
parent
d8d2df7e6f
commit
bf9b59b3c8
|
@ -51,7 +51,7 @@ def pytest_addoption(parser: Parser) -> None:
|
||||||
action="count",
|
action="count",
|
||||||
default=0,
|
default=0,
|
||||||
dest="version",
|
dest="version",
|
||||||
help="display pytest version and information about plugins."
|
help="display pytest version and information about plugins. "
|
||||||
"When given twice, also display information about plugins.",
|
"When given twice, also display information about plugins.",
|
||||||
)
|
)
|
||||||
group._addoption(
|
group._addoption(
|
||||||
|
|
|
@ -28,6 +28,9 @@ def test_help(pytester: Pytester) -> None:
|
||||||
For example: -m 'mark1 and not mark2'.
|
For example: -m 'mark1 and not mark2'.
|
||||||
reporting:
|
reporting:
|
||||||
--durations=N *
|
--durations=N *
|
||||||
|
-V, --version display pytest version and information about plugins.
|
||||||
|
When given twice, also display information about
|
||||||
|
plugins.
|
||||||
*setup.cfg*
|
*setup.cfg*
|
||||||
*minversion*
|
*minversion*
|
||||||
*to see*markers*pytest --markers*
|
*to see*markers*pytest --markers*
|
||||||
|
|
Loading…
Reference in New Issue