Skip to content

Commit

Permalink
Merge pull request #1796 from kinnison/kinnison/remove-redundant-clap…
Browse files Browse the repository at this point in the history
…-bits

rustup_mode.rs: Remove unused/duplicated clap bits
  • Loading branch information
kinnison authored Apr 23, 2019
2 parents cdc1489 + 97fc6ba commit 689cf71
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions src/cli/rustup_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -468,46 +468,6 @@ pub fn cli() -> App<'static, 'static> {
.about("Upgrade the internal data format."),
),
)
.subcommand(
SubCommand::with_name("set")
.about("Alter rustup settings")
.setting(AppSettings::SubcommandRequiredElseHelp)
.subcommand(
SubCommand::with_name("default-host")
.about("The triple used to identify toolchains when not specified")
.arg(Arg::with_name("host_triple").required(true)),
),
)
.subcommand(
SubCommand::with_name("self")
.about("Modify the rustup installation")
.setting(AppSettings::VersionlessSubcommands)
.setting(AppSettings::DeriveDisplayOrder)
.setting(AppSettings::SubcommandRequiredElseHelp)
.subcommand(
SubCommand::with_name("update").about("Download and install updates to rustup"),
)
.subcommand(
SubCommand::with_name("uninstall")
.about("Uninstall rustup.")
.arg(Arg::with_name("no-prompt").short("y")),
)
.subcommand(
SubCommand::with_name("upgrade-data")
.about("Upgrade the internal data format."),
),
)
.subcommand(
SubCommand::with_name("telemetry")
.about("rustup telemetry commands")
.setting(AppSettings::Hidden)
.setting(AppSettings::VersionlessSubcommands)
.setting(AppSettings::DeriveDisplayOrder)
.setting(AppSettings::SubcommandRequiredElseHelp)
.subcommand(SubCommand::with_name("enable").about("Enable rustup telemetry"))
.subcommand(SubCommand::with_name("disable").about("Disable rustup telemetry"))
.subcommand(SubCommand::with_name("analyze").about("Analyze stored telemetry")),
)
.subcommand(
SubCommand::with_name("set")
.about("Alter rustup settings")
Expand Down

0 comments on commit 689cf71

Please sign in to comment.