From 949196661382d9c9e5fa68ee9b45ae457415e953 Mon Sep 17 00:00:00 2001 From: Hiren Date: Tue, 24 Feb 2026 12:39:49 -0500 Subject: [PATCH] Fix cache clear example to use PyPI instead of pypi The cache name is case-sensitive. Updated the package-specific example to be consistent with the --all example above it which uses PyPI. Fixes: #10743 --- docs/cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cli.md b/docs/cli.md index 29d5ff14d73..4a950a9b2a5 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -263,7 +263,7 @@ poetry cache clear PyPI --all To only remove a specific package from a cache, you have to specify the cache entry in the following form `cache:package:version`: ```bash -poetry cache clear pypi:requests:2.24.0 +poetry cache clear PyPI:requests:2.24.0 ``` ### cache list