Fix _brew_upgrade completion function

I found an error that was breaking my `brew upgrade ...` zsh completion
This commit is contained in:
Lewis Sparlin 2020-10-07 11:21:34 -05:00 committed by GitHub
parent 588f5f1713
commit 4016e746cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -818,7 +818,7 @@ _brew_update_test() {
# install-options is copied from brew install
_brew_upgrade() {
_arguments \
'--cask[upgrade installed Casks with newer versions]'
'--cask[upgrade installed Casks with newer versions]' \
'--cleanup[remove previously installed formula version(s)]' \
'--fetch-HEAD[detect if the HEAD installation of the formula is outdated]' \
- normal-install \