From b532779dd00c9e23623c82acdd26cc8f230df9f0 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 19 Feb 2020 21:30:07 +0100 Subject: [PATCH] help: --deselect: mention that this uses node id prefixes Ref: https://github.com/pytest-dev/pytest/issues/6751 --- src/_pytest/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_pytest/main.py b/src/_pytest/main.py index 72e88b24418..24b29a16fc9 100644 --- a/src/_pytest/main.py +++ b/src/_pytest/main.py @@ -128,7 +128,7 @@ def pytest_addoption(parser): "--deselect", action="append", metavar="nodeid_prefix", - help="deselect item during collection (multi-allowed).", + help="deselect item (via node id prefix) during collection (multi-allowed).", ) # when changing this to --conf-cut-dir, config.py Conftest.setinitial # needs upgrading as well