Skip to content

Commit

Permalink
Remove redundant 'set' subcommand
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
  • Loading branch information
kinnison committed May 27, 2019
1 parent e22b7bc commit 805d595
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions src/cli/rustup_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -523,26 +523,6 @@ pub fn cli() -> App<'static, 'static> {
.collect::<Vec<_>>();

app.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("profile")
.about("The default components installed")
.arg(
Arg::with_name("profile-name")
.required(true)
.possible_values(Profile::names())
.default_value(Profile::default_name()),
),
),
)
.subcommand(
SubCommand::with_name("completions")
.about("Generate completion scripts for your shell")
.after_help(COMPLETIONS_HELP)
Expand Down

0 comments on commit 805d595

Please sign in to comment.