Skip to content

Commit e22b7bc

Browse files
committed
Remove redundant 'self' subcommand stanza
Signed-off-by: Daniel Silverstone <[email protected]>
1 parent d7bfb96 commit e22b7bc

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

src/cli/rustup_mode.rs

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -510,25 +510,6 @@ pub fn cli() -> App<'static, 'static> {
510510
.default_value(Profile::default_name()),
511511
),
512512
),
513-
)
514-
.subcommand(
515-
SubCommand::with_name("self")
516-
.about("Modify the rustup installation")
517-
.setting(AppSettings::VersionlessSubcommands)
518-
.setting(AppSettings::DeriveDisplayOrder)
519-
.setting(AppSettings::SubcommandRequiredElseHelp)
520-
.subcommand(
521-
SubCommand::with_name("update").about("Download and install updates to rustup"),
522-
)
523-
.subcommand(
524-
SubCommand::with_name("uninstall")
525-
.about("Uninstall rustup.")
526-
.arg(Arg::with_name("no-prompt").short("y")),
527-
)
528-
.subcommand(
529-
SubCommand::with_name("upgrade-data")
530-
.about("Upgrade the internal data format."),
531-
),
532513
);
533514

534515
// Clap provides no good way to say that help should be printed in all

0 commit comments

Comments
 (0)