diff --git a/Library/Homebrew/cask/cmd/upgrade.rb b/Library/Homebrew/cask/cmd/upgrade.rb index 86051ba96b..b3c87a60d8 100644 --- a/Library/Homebrew/cask/cmd/upgrade.rb +++ b/Library/Homebrew/cask/cmd/upgrade.rb @@ -16,7 +16,7 @@ module Cask [:switch, "--skip-cask-deps", { description: "Skip installing cask dependencies.", }], - [:switch, "--greedy", { + [:switch, "-g", "--greedy", { description: "Also include casks with `auto_updates true` or `version :latest`.", }], [:switch, "--greedy-latest", { diff --git a/Library/Homebrew/cmd/outdated.rb b/Library/Homebrew/cmd/outdated.rb index 256459c2d1..28186cce9a 100644 --- a/Library/Homebrew/cmd/outdated.rb +++ b/Library/Homebrew/cmd/outdated.rb @@ -36,7 +36,7 @@ module Homebrew description: "Fetch the upstream repository to detect if the HEAD installation of the " \ "formula is outdated. Otherwise, the repository's HEAD will only be checked for " \ "updates when a new stable or development version has been released." - switch "--greedy", + switch "-g", "--greedy", description: "Also include outdated casks with `auto_updates true` or `version :latest`." switch "--greedy-latest",