Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Feb 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Library/Homebrew/cask/cmd/upgrade.rb
Expand Up @@ -16,7 +16,7 @@ class Upgrade < AbstractCommand
[: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", {
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/cmd/outdated.rb
Expand Up @@ -36,7 +36,7 @@ def outdated_args
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",
Expand Down