Skip to content

Commit bc82032

Browse files
committed
Tweak toolchain subcommand help text
1 parent 027a625 commit bc82032

5 files changed

+5
-5
lines changed

src/cli/rustup_mode.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ enum RustupSubcmd {
125125
#[command(hide = true)]
126126
DumpTestament,
127127

128-
/// Modify or query the installed toolchains
128+
/// Install, uninstall, or list toolchains
129129
Toolchain {
130130
#[command(subcommand)]
131131
subcmd: ToolchainSubcmd,

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The Rust toolchain installer
99
Usage: rustup[EXE] [OPTIONS] [+toolchain] [COMMAND]
1010
1111
Commands:
12-
toolchain Modify or query the installed toolchains
12+
toolchain Install, uninstall, or list toolchains
1313
default Set the default toolchain
1414
show Show the active and installed toolchains or profiles
1515
update Update Rust toolchains and rustup

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The Rust toolchain installer
99
Usage: rustup[EXE] [OPTIONS] [+toolchain] [COMMAND]
1010
1111
Commands:
12-
toolchain Modify or query the installed toolchains
12+
toolchain Install, uninstall, or list toolchains
1313
default Set the default toolchain
1414
show Show the active and installed toolchains or profiles
1515
update Update Rust toolchains and rustup

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The Rust toolchain installer
99
Usage: rustup[EXE] [OPTIONS] [+toolchain] [COMMAND]
1010
1111
Commands:
12-
toolchain Modify or query the installed toolchains
12+
toolchain Install, uninstall, or list toolchains
1313
default Set the default toolchain
1414
show Show the active and installed toolchains or profiles
1515
update Update Rust toolchains and rustup

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ bin.name = "rustup"
22
args = ["toolchain", "--help"]
33
stdout = """
44
...
5-
Modify or query the installed toolchains
5+
Install, uninstall, or list toolchains
66
77
Usage: rustup[EXE] toolchain <COMMAND>
88

0 commit comments

Comments
 (0)