Skip to content

Commit

Permalink
changes completions shells to update automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
kbknapp committed Nov 5, 2016
1 parent b3ac320 commit dcbe02c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rustup-cli/rustup_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ pub fn cli() -> App<'static, 'static> {
.after_help(COMPLETIONS_HELP)
.setting(AppSettings::ArgRequiredElseHelp)
.arg(Arg::with_name("shell")
.possible_values(&["bash", "fish", "zsh"])))
.possible_values(&Shell::variants())))
}

fn maybe_upgrade_data(cfg: &Cfg, m: &ArgMatches) -> Result<bool> {
Expand Down

0 comments on commit dcbe02c

Please sign in to comment.