Use hyphenated cmdline options in docs (#11490)

Fix #11091
This commit is contained in:
ryanpudd
2023-10-10 22:16:24 +01:00
committed by GitHub
parent 23825f2983
commit 3ab70cd561
10 changed files with 10 additions and 8 deletions

View File

@@ -1518,7 +1518,7 @@ class TestMetafuncFunctional:
pass
"""
)
result = pytester.runpytest("--collectonly")
result = pytester.runpytest("--collect-only")
result.stdout.fnmatch_lines(
[
"collected 0 items / 1 error",