Merge pull request #8877 from lsparlin/lsparlin-patch-zsh-completion

Bug fix _brew_upgrade zsh completion function
This commit is contained in:
Dawid Dziurla 2020-10-07 18:54:24 +02:00 committed by GitHub
commit 0732a86a24
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 # install-options is copied from brew install
_brew_upgrade() { _brew_upgrade() {
_arguments \ _arguments \
'--cask[upgrade installed Casks with newer versions]' '--cask[upgrade installed Casks with newer versions]' \
'--cleanup[remove previously installed formula version(s)]' \ '--cleanup[remove previously installed formula version(s)]' \
'--fetch-HEAD[detect if the HEAD installation of the formula is outdated]' \ '--fetch-HEAD[detect if the HEAD installation of the formula is outdated]' \
- normal-install \ - normal-install \