Merge pull request #3678 from rakkesh/zcompsys

brew unlink: fix short option
This commit is contained in:
Mike McQuaid 2018-01-13 11:22:42 +00:00 committed by GitHub
commit 470922e064
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -711,7 +711,7 @@ _brew_uninstall() {
# brew unlink [--dry-run] formula:
_brew_unlink() {
_arguments \
'(--dry-run =n)'{--dry-run,=n}'[don''t unlink or delete any files]' \
'(--dry-run -n)'{--dry-run,-n}'[don''t unlink or delete any files]' \
':formula:__brew_installed_formulae'
}
@ -719,7 +719,7 @@ _brew_unlink() {
_brew_unlinkapps() {
_arguments \
'(--local)--local[remove symlinks from ~/Applications instead of the system directory]' \
'(--dry-run =n)'{--dry-run,-n}'[don''t unlink or delete any files]' \
'(--dry-run -n)'{--dry-run,-n}'[don''t unlink or delete any files]' \
':formula:__brew_installed_formulae'
}