Skip to content

Commit

Permalink
doc(parser): Rephrase --discover help to avoid confusion
Browse files Browse the repository at this point in the history
The flag expects a list of python executables, but not paths.
Eg `--discover /foo/bar/python` is good, `--discover /foo/bar` or
`--discover /foo/bar/` won't work.
  • Loading branch information
mimre25 committed Apr 26, 2024
1 parent 6dc64f2 commit 39c592b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tox/config/cli/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def __call__(
nargs="+",
metavar="path",
of_type=list[str],
help="for Python discovery first try the Python executables under these paths",
help="for Python discovery first try these Python executables",
default=[],
)
list_deps = sub_parser.add_mutually_exclusive_group()
Expand Down

0 comments on commit 39c592b

Please sign in to comment.