cmd/(outdated,upgrade): Document -g as a shorter --greedy for Casks

- Fixes https://github.com/Homebrew/brew/issues/ 14682.
This commit is contained in:
Issy Long 2023-02-18 18:47:49 +00:00 committed by GitHub
parent 6ad92949e9
commit 44b0050b94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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", {

View File

@ -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",