Skip to content

Commit 3a199c4

Browse files
committed
Tweak toolchain subcommand help text
1 parent a3b550d commit 3a199c4

5 files changed

+5
-5
lines changed

Diff for: 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,

Diff for: 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
show Show the active and installed toolchains or profiles
1414
update Update Rust toolchains and rustup
1515
check Check for updates to Rust toolchains and rustup

Diff for: 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
show Show the active and installed toolchains or profiles
1414
update Update Rust toolchains and rustup
1515
check Check for updates to Rust toolchains and rustup

Diff for: 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
show Show the active and installed toolchains or profiles
1414
update Update Rust toolchains and rustup
1515
check Check for updates to Rust toolchains and rustup

Diff for: 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)