Skip to content

Commit bf9b59b

Browse files
Add missing space in '--version' help message
1 parent d8d2df7 commit bf9b59b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/_pytest/helpconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def pytest_addoption(parser: Parser) -> None:
5151
action="count",
5252
default=0,
5353
dest="version",
54-
help="display pytest version and information about plugins."
54+
help="display pytest version and information about plugins. "
5555
"When given twice, also display information about plugins.",
5656
)
5757
group._addoption(

testing/test_helpconfig.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ def test_help(pytester: Pytester) -> None:
2828
For example: -m 'mark1 and not mark2'.
2929
reporting:
3030
--durations=N *
31+
-V, --version display pytest version and information about plugins.
32+
When given twice, also display information about
33+
plugins.
3134
*setup.cfg*
3235
*minversion*
3336
*to see*markers*pytest --markers*

0 commit comments

Comments
 (0)