Skip to content

Commit 0162cde

Browse files
authored
Merge pull request #20333 from agowa/patch-1
`brew upgrade --help` missing HOMEBREW_UPGRADE_GREEDY
2 parents 7fb928c + a7da303 commit 0162cde

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Library/Homebrew/cmd/upgrade.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ class UpgradeCmd < AbstractCommand
9191
}],
9292
[:switch, "-g", "--greedy", {
9393
description: "Also include casks with `auto_updates true` or `version :latest`.",
94+
env: :upgrade_greedy,
9495
}],
9596
[:switch, "--greedy-latest", {
9697
description: "Also include casks with `version :latest`.",

0 commit comments

Comments
 (0)