Skip to content

Commit a7da303

Browse files
committed
fix: Add missing env var mention on upgrade help page
Add missing env defaults note for `--greedy` to `brew upgrade --help` output
1 parent ff4ee5d commit a7da303

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)