From 1748b66615a9bae93303d10c1224ee76d9931cf3 Mon Sep 17 00:00:00 2001 From: Gautham Goli Date: Fri, 18 Jan 2019 22:03:07 +0530 Subject: [PATCH] Add alias for `switch` method in CLI::Parser --- Library/Homebrew/cli_parser.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/cli_parser.rb b/Library/Homebrew/cli_parser.rb index 01310d42e3..da63133dfb 100644 --- a/Library/Homebrew/cli_parser.rb +++ b/Library/Homebrew/cli_parser.rb @@ -59,6 +59,7 @@ module Homebrew enable_switch(*names) if !env.nil? && !ENV["HOMEBREW_#{env.to_s.upcase}"].nil? end + alias switch_option switch def usage_banner(text) @parser.banner = "#{text}\n"