Skip to content

Commit 947917b

Browse files
authored
Fix options and default in --keyring-provider help (#13110)
The `auto` mode was added a while ago, but the option help was not updated to reflect this.
1 parent d3ac6a2 commit 947917b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

news/a6275be8-84ca-48bf-98dc-1ccb196e7f47.trivial.rst

Whitespace-only changes.

src/pip/_internal/cli/cmdoptions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@ class PipOption(Option):
260260
default="auto",
261261
help=(
262262
"Enable the credential lookup via the keyring library if user input is allowed."
263-
" Specify which mechanism to use [disabled, import, subprocess]."
264-
" (default: disabled)"
263+
" Specify which mechanism to use [auto, disabled, import, subprocess]."
264+
" (default: %default)"
265265
),
266266
)
267267

0 commit comments

Comments
 (0)