From e877a52fa6c0dc9dd91998305037f588e7394246 Mon Sep 17 00:00:00 2001 From: Zach Auten Date: Thu, 14 May 2020 00:31:14 -0400 Subject: [PATCH] Fix exception when calling "brew cask" with --help and no subcommand --- Library/Homebrew/cask/cmd.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Library/Homebrew/cask/cmd.rb b/Library/Homebrew/cask/cmd.rb index a65cee3949..af03b04385 100644 --- a/Library/Homebrew/cask/cmd.rb +++ b/Library/Homebrew/cask/cmd.rb @@ -243,6 +243,10 @@ module Cask $stderr.puts $stderr.puts Help.usage end + + def help + run + end end end end