From 1b236d9b7241e1169392c6461d0cc68a39ae7c3a Mon Sep 17 00:00:00 2001 From: Peter Schutt Date: Sun, 15 Oct 2023 07:52:28 +1000 Subject: [PATCH] docs: fix `pdm use` example for in-project venv Without specifying the `in-project` name: > pdm use: error: argument --venv: expected one argument --- docs/docs/usage/venv.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/usage/venv.md b/docs/docs/usage/venv.md index 75a7febb17..d6dd655f3c 100644 --- a/docs/docs/usage/venv.md +++ b/docs/docs/usage/venv.md @@ -171,7 +171,7 @@ By default, if you use `pdm use` and select a non-venv Python, the project will # Switch to a virtualenv named test $ pdm use --venv test # Switch to the in-project venv located at $PROJECT_ROOT/.venv -$ pdm use --venv +$ pdm use --venv in-project ``` ## Disable virtualenv mode