From b766799d95bcd88d109d5b3414ca4d229c9d00b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?fn=20=E2=8C=83=20=E2=8C=A5?= <70830482+FnControlOption@users.noreply.github.com> Date: Thu, 18 Nov 2021 12:41:03 -0800 Subject: [PATCH] Add missing `--formulae/--casks` aliases for `--formula/--cask` --- Library/Homebrew/cmd/--cache.rb | 4 ++-- Library/Homebrew/cmd/outdated.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/cmd/--cache.rb b/Library/Homebrew/cmd/--cache.rb index 97fabff7f8..e60b996527 100644 --- a/Library/Homebrew/cmd/--cache.rb +++ b/Library/Homebrew/cmd/--cache.rb @@ -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" diff --git a/Library/Homebrew/cmd/outdated.rb b/Library/Homebrew/cmd/outdated.rb index 80013e1856..568bf925ae 100644 --- a/Library/Homebrew/cmd/outdated.rb +++ b/Library/Homebrew/cmd/outdated.rb @@ -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`. " \