Merge pull request #14702 from issyl0/greedy-short-g

cmd/(outdated,upgrade): Document `-g` as a shorter `--greedy` for Casks
This commit is contained in:
Mike McQuaid 2023-02-20 09:54:18 +00:00 committed by GitHub
commit 7f1a0936e5
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", { [:switch, "--skip-cask-deps", {
description: "Skip installing cask dependencies.", description: "Skip installing cask dependencies.",
}], }],
[:switch, "--greedy", { [:switch, "-g", "--greedy", {
description: "Also include casks with `auto_updates true` or `version :latest`.", description: "Also include casks with `auto_updates true` or `version :latest`.",
}], }],
[:switch, "--greedy-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 " \ 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 " \ "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 "-g", "--greedy",
description: "Also include 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",