From 4c9b850e132f5d6953c708f56e036fb5d2149fb1 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Fri, 21 Feb 2020 12:53:27 +0100 Subject: [PATCH] help: --deselect: mention that this uses node id prefixes (#6770) 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 72e88b244..24b29a16f 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