Merge pull request #8195 from christophebedard/add-missing-space-version-option-help-message

Add missing space in '--version' help message
This commit is contained in:
Ran Benita 2020-12-30 11:57:02 +02:00 committed by GitHub
commit 7585221d55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -51,7 +51,7 @@ def pytest_addoption(parser: Parser) -> None:
action="count",
default=0,
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.",
)
group._addoption(

View File

@ -28,6 +28,9 @@ def test_help(pytester: Pytester) -> None:
For example: -m 'mark1 and not mark2'.
reporting:
--durations=N *
-V, --version display pytest version and information about plugins.
When given twice, also display information about
plugins.
*setup.cfg*
*minversion*
*to see*markers*pytest --markers*