diff --git a/crates/uv/src/settings.rs b/crates/uv/src/settings.rs index f5864066b..63ed91655 100644 --- a/crates/uv/src/settings.rs +++ b/crates/uv/src/settings.rs @@ -468,9 +468,9 @@ impl ToolRunSettings { // If `--reinstall` was passed explicitly, warn. if installer.reinstall || !installer.reinstall_package.is_empty() { if with.is_empty() && with_requirements.is_empty() { - warn_user_once!("Tools cannot be reinstalled via `{invocation_source}`; use `uv tool upgrade --reinstall` to reinstall all installed tools, or `{invocation_source} package@latest` to run the latest version of a tool."); + warn_user_once!("Tools cannot be reinstalled via `{invocation_source}`; use `uv tool upgrade --all --reinstall` to reinstall all installed tools, or `{invocation_source} package@latest` to run the latest version of a tool."); } else { - warn_user_once!("Tools cannot be reinstalled via `{invocation_source}`; use `uv tool upgrade --reinstall` to reinstall all installed tools, `{invocation_source} package@latest` to run the latest version of a tool, or `{invocation_source} --refresh package` to reinstall any `--with` dependencies."); + warn_user_once!("Tools cannot be reinstalled via `{invocation_source}`; use `uv tool upgrade --all --reinstall` to reinstall all installed tools, `{invocation_source} package@latest` to run the latest version of a tool, or `{invocation_source} --refresh package` to reinstall any `--with` dependencies."); } }