From 234c4c8873780ce006c54206a2c6ea4f955557aa Mon Sep 17 00:00:00 2001 From: Felipe Peter Date: Fri, 21 Jul 2023 12:30:48 +0800 Subject: [PATCH] Use help text consistent with other options --- src/pip/_internal/cli/cmdoptions.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pip/_internal/cli/cmdoptions.py b/src/pip/_internal/cli/cmdoptions.py index 935a458f76f..fce4e2f3118 100644 --- a/src/pip/_internal/cli/cmdoptions.py +++ b/src/pip/_internal/cli/cmdoptions.py @@ -903,8 +903,7 @@ def _handle_config_settings( dest="root_user_action", default="warn", choices=["warn", "ignore"], - help="Action if pip is run as a root user ('warn' or 'ignore'). " - "By default, a warning message is shown.", + help="Action if pip is run as a root user [warn, ignore] (default: warn)", )