diff --git a/src/cli/rustup_mode.rs b/src/cli/rustup_mode.rs index 81385ed75d..c7d0f0c376 100644 --- a/src/cli/rustup_mode.rs +++ b/src/cli/rustup_mode.rs @@ -107,7 +107,7 @@ enum RustupSubcmd { opts: UpdateOpts, }, - /// Uninstall Rust toolchains + /// Uninstall the given toolchains #[command(hide = true)] Uninstall { #[command(flatten)] @@ -309,7 +309,7 @@ enum ToolchainSubcmd { opts: UpdateOpts, }, - /// Uninstall a toolchain + /// Uninstall the given toolchains #[command(alias = "remove")] Uninstall { #[command(flatten)] diff --git a/tests/suite/cli-ui/rustup/rustup_toolchain_cmd_help_flag_stdout.toml b/tests/suite/cli-ui/rustup/rustup_toolchain_cmd_help_flag_stdout.toml index 9485b6323b..fdec438e70 100644 --- a/tests/suite/cli-ui/rustup/rustup_toolchain_cmd_help_flag_stdout.toml +++ b/tests/suite/cli-ui/rustup/rustup_toolchain_cmd_help_flag_stdout.toml @@ -9,7 +9,7 @@ Usage: rustup[EXE] toolchain Commands: list List installed toolchains install Install or update a given toolchain - uninstall Uninstall a toolchain + uninstall Uninstall the given toolchains link Create a custom toolchain by symlinking to a directory help Print this message or the help of the given subcommand(s) diff --git a/tests/suite/cli-ui/rustup/rustup_toolchain_cmd_uninstall_cmd_help_flag_stdout.toml b/tests/suite/cli-ui/rustup/rustup_toolchain_cmd_uninstall_cmd_help_flag_stdout.toml index 42be34c34a..40fb0fdbf7 100644 --- a/tests/suite/cli-ui/rustup/rustup_toolchain_cmd_uninstall_cmd_help_flag_stdout.toml +++ b/tests/suite/cli-ui/rustup/rustup_toolchain_cmd_uninstall_cmd_help_flag_stdout.toml @@ -1,8 +1,7 @@ bin.name = "rustup" args = ["toolchain", "uninstall", "--help"] stdout = """ -... -Uninstall a toolchain +Uninstall the given toolchains Usage: rustup[EXE] toolchain uninstall ...