Add missing space in '--version' help message

This commit is contained in:
Christophe Bedard 2020-12-27 09:55:21 -05:00
parent d8d2df7e6f
commit bf9b59b3c8
2 changed files with 4 additions and 1 deletions

View File

@ -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(

View File

@ -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*