Skip to content

Commit 7435d63

Browse files
committed
rustup: unhide top-level install/uninstall commands
1 parent f6f12a1 commit 7435d63

File tree

4 files changed

+134
-122
lines changed

4 files changed

+134
-122
lines changed

src/cli/rustup_mode.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,14 @@ fn plus_toolchain_value_parser(s: &str) -> clap::error::Result<ResolvableToolcha
123123
#[command(name = "rustup", bin_name = "rustup[EXE]")]
124124
enum RustupSubcmd {
125125
/// Install or update the given toolchains, or by default the active toolchain
126-
#[command(hide = true, after_help = install_help(), aliases = ["add"])]
126+
#[command(after_help = install_help(), aliases = ["add"])]
127127
Install {
128128
#[command(flatten)]
129129
opts: UpdateOpts,
130130
},
131131

132132
/// Uninstall the given toolchains
133-
#[command(hide = true, aliases = ["remove", "rm", "delete", "del"])]
133+
#[command(aliases = ["remove", "rm", "delete", "del"])]
134134
Uninstall {
135135
#[command(flatten)]
136136
opts: UninstallOpts,

tests/suite/cli_rustup_ui/rustup_help_cmd.stdout.term.svg

Lines changed: 41 additions & 37 deletions
Loading

0 commit comments

Comments
 (0)