Skip to content

Commit d46ab3c

Browse files
committed
Remove redundant 'set' subcommand
Signed-off-by: Daniel Silverstone <[email protected]>
1 parent e8aadb6 commit d46ab3c

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/cli/rustup_mode.rs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -523,26 +523,6 @@ pub fn cli() -> App<'static, 'static> {
523523
.collect::<Vec<_>>();
524524

525525
app.subcommand(
526-
SubCommand::with_name("set")
527-
.about("Alter rustup settings")
528-
.setting(AppSettings::SubcommandRequiredElseHelp)
529-
.subcommand(
530-
SubCommand::with_name("default-host")
531-
.about("The triple used to identify toolchains when not specified")
532-
.arg(Arg::with_name("host_triple").required(true)),
533-
)
534-
.subcommand(
535-
SubCommand::with_name("profile")
536-
.about("The default components installed")
537-
.arg(
538-
Arg::with_name("profile-name")
539-
.required(true)
540-
.possible_values(Profile::names())
541-
.default_value(Profile::default_name()),
542-
),
543-
),
544-
)
545-
.subcommand(
546526
SubCommand::with_name("completions")
547527
.about("Generate completion scripts for your shell")
548528
.after_help(COMPLETIONS_HELP)

0 commit comments

Comments
 (0)