Skip to content

Commit 00ceced

Browse files
committed
fix(rustup-mode): adjust descriptions for rustup toolchain uninstall
1 parent d3d1d98 commit 00ceced

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/cli/rustup_mode.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ enum RustupSubcmd {
107107
opts: UpdateOpts,
108108
},
109109

110-
/// Uninstall Rust toolchains
110+
/// Uninstall the given toolchains
111111
#[command(hide = true)]
112112
Uninstall {
113113
#[command(flatten)]
@@ -309,7 +309,7 @@ enum ToolchainSubcmd {
309309
opts: UpdateOpts,
310310
},
311311

312-
/// Uninstall a toolchain
312+
/// Uninstall the given toolchains
313313
#[command(alias = "remove")]
314314
Uninstall {
315315
#[command(flatten)]

tests/suite/cli-ui/rustup/rustup_toolchain_cmd_help_flag_stdout.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Usage: rustup[EXE] toolchain <COMMAND>
99
Commands:
1010
list List installed toolchains
1111
install Install or update a given toolchain
12-
uninstall Uninstall a toolchain
12+
uninstall Uninstall the given toolchains
1313
link Create a custom toolchain by symlinking to a directory
1414
help Print this message or the help of the given subcommand(s)
1515

tests/suite/cli-ui/rustup/rustup_toolchain_cmd_uninstall_cmd_help_flag_stdout.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
bin.name = "rustup"
22
args = ["toolchain", "uninstall", "--help"]
33
stdout = """
4-
...
5-
Uninstall a toolchain
4+
Uninstall the given toolchains
65
76
Usage: rustup[EXE] toolchain uninstall <TOOLCHAIN>...
87

0 commit comments

Comments
 (0)