Skip to content

Commit 2651b27

Browse files
cyqsimonrami3l
authored andcommitted
cli: add help text for rustup self uninstall -y
Help text is mirrored from `rustup-init -y`
1 parent 42b74e9 commit 2651b27

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/cli/rustup_mode.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,7 @@ enum SelfSubcmd {
541541

542542
/// Uninstall rustup
543543
Uninstall {
544+
/// Disable confirmation prompt
544545
#[arg(short = 'y')]
545546
no_prompt: bool,
546547
},

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

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)