Merge pull request #12452 from FnControlOption/switch

Add missing `--formulae/--casks` aliases for `--formula/--cask`
This commit is contained in:
Mike McQuaid 2021-11-19 12:19:18 +00:00 committed by GitHub
commit a36cfa2c71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -28,9 +28,9 @@ module Homebrew
description: "Show the cache file used when pouring a bottle for the given tag."
switch "--HEAD",
description: "Show the cache file used when building from HEAD."
switch "--formula",
switch "--formula", "--formulae",
description: "Only show cache files for formulae."
switch "--cask",
switch "--cask", "--casks",
description: "Only show cache files for casks."
conflicts "--build-from-source", "--force-bottle", "--bottle-tag", "--HEAD", "--cask"

View File

@ -24,9 +24,9 @@ module Homebrew
description: "List only the names of outdated kegs (takes precedence over `--verbose`)."
switch "-v", "--verbose",
description: "Include detailed version information."
switch "--formula",
switch "--formula", "--formulae",
description: "List only outdated formulae."
switch "--cask",
switch "--cask", "--casks",
description: "List only outdated casks."
flag "--json",
description: "Print output in JSON format. There are two versions: `v1` and `v2`. " \