Merge pull request #13428 from hyuraku/repair-brew-outdated-greedy

repair `brew outdated --greedy` to show only casks
This commit is contained in:
Rylan Polster 2022-06-20 13:33:28 -04:00 committed by GitHub
commit 5d3501f6b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,13 +37,13 @@ module Homebrew
"formula is outdated. Otherwise, the repository's HEAD will only be checked for "\ "formula is outdated. Otherwise, the repository's HEAD will only be checked for "\
"updates when a new stable or development version has been released." "updates when a new stable or development version has been released."
switch "--greedy", switch "--greedy",
description: "Print outdated casks with `auto_updates true` or `version :latest`." description: "Also include outdated casks with `auto_updates true` or `version :latest`."
switch "--greedy-latest", switch "--greedy-latest",
description: "Print outdated casks including those with `version :latest`." description: "Also include outdated casks including those with `version :latest`."
switch "--greedy-auto-updates", switch "--greedy-auto-updates",
description: "Print outdated casks including those with `auto_updates true`." description: "Also include outdated casks including those with `auto_updates true`."
conflicts "--quiet", "--verbose", "--json" conflicts "--quiet", "--verbose", "--json"
conflicts "--formula", "--cask" conflicts "--formula", "--cask"