aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/zsh/site-functions/_brew1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/zsh/site-functions/_brew b/share/zsh/site-functions/_brew
index 57b07d1cc..f4f5ac81c 100644
--- a/share/zsh/site-functions/_brew
+++ b/share/zsh/site-functions/_brew
@@ -139,6 +139,7 @@ case "$words[1]" in
upgrade)
_arguments \
'(--cleanup)--cleanup[remove previously installed formula version(s)]' \
+ '(--fetch-HEAD)--fetch-HEAD[detect outdated installation by fetching the repo]' \
'1: :->forms' && return 0
if [[ "$state" == forms ]]; then