Skip to content

Commit 4d0c3fa

Browse files
Merge pull request #20337 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2 parents 0162cde + ad96b58 commit 4d0c3fa

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

completions/fish/brew.fish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1922,7 +1922,7 @@ __fish_brew_complete_arg 'upgrade' -l fontdir -d 'Target location for Fonts (def
19221922
__fish_brew_complete_arg 'upgrade' -l force -d 'Install formulae without checking for previously installed keg-only or non-migrated versions. When installing casks, overwrite existing files (binaries and symlinks are excluded, unless originally from the same cask)'
19231923
__fish_brew_complete_arg 'upgrade' -l force-bottle -d 'Install from a bottle if it exists for the current or newest version of macOS, even if it would not normally be used for installation'
19241924
__fish_brew_complete_arg 'upgrade' -l formula -d 'Treat all named arguments as formulae. If no named arguments are specified, upgrade only outdated formulae'
1925-
__fish_brew_complete_arg 'upgrade' -l greedy -d 'Also include casks with `auto_updates true` or `version :latest`'
1925+
__fish_brew_complete_arg 'upgrade' -l greedy -d 'Also include casks with `auto_updates true` or `version :latest`. Enabled by default if `$HOMEBREW_UPGRADE_GREEDY` is set'
19261926
__fish_brew_complete_arg 'upgrade' -l greedy-auto-updates -d 'Also include casks with `auto_updates true`'
19271927
__fish_brew_complete_arg 'upgrade' -l greedy-latest -d 'Also include casks with `version :latest`'
19281928
__fish_brew_complete_arg 'upgrade' -l help -d 'Show this message'

completions/zsh/_brew

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2365,7 +2365,7 @@ _brew_upgrade() {
23652365
'(--formula)--fontdir[Target location for Fonts (default: `~/Library/Fonts`)]' \
23662366
'--force[Install formulae without checking for previously installed keg-only or non-migrated versions. When installing casks, overwrite existing files (binaries and symlinks are excluded, unless originally from the same cask)]' \
23672367
'(--cask --build-from-source)--force-bottle[Install from a bottle if it exists for the current or newest version of macOS, even if it would not normally be used for installation]' \
2368-
'(--formula)--greedy[Also include casks with `auto_updates true` or `version :latest`]' \
2368+
'(--formula)--greedy[Also include casks with `auto_updates true` or `version :latest`. Enabled by default if `$HOMEBREW_UPGRADE_GREEDY` is set]' \
23692369
'(--formula)--greedy-auto-updates[Also include casks with `auto_updates true`]' \
23702370
'(--formula)--greedy-latest[Also include casks with `version :latest`]' \
23712371
'--help[Show this message]' \

docs/Manpage.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1754,7 +1754,8 @@ for the upgraded formulae or, every 30 days, for all formulae.
17541754

17551755
`-g`, `--greedy`
17561756

1757-
: Also include casks with `auto_updates true` or `version :latest`.
1757+
: Also include casks with `auto_updates true` or `version :latest`. Enabled by
1758+
default if `$HOMEBREW_UPGRADE_GREEDY` is set.
17581759

17591760
`--greedy-latest`
17601761

manpages/brew.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,7 @@ Treat all named arguments as casks\. If no named arguments are specified, upgrad
10841084
Skip installing cask dependencies\.
10851085
.TP
10861086
\fB\-g\fP, \fB\-\-greedy\fP
1087-
Also include casks with \fBauto_updates true\fP or \fBversion :latest\fP\&\.
1087+
Also include casks with \fBauto_updates true\fP or \fBversion :latest\fP\&\. Enabled by default if \fB$HOMEBREW_UPGRADE_GREEDY\fP is set\.
10881088
.TP
10891089
\fB\-\-greedy\-latest\fP
10901090
Also include casks with \fBversion :latest\fP\&\.

0 commit comments

Comments
 (0)