From ea0150f7a324149f81eb9d80f8385b6c2bfecd5b Mon Sep 17 00:00:00 2001 From: Jacob Ford Date: Fri, 4 Oct 2019 14:27:32 -0400 Subject: [PATCH] Make invalid command error language consistent with brew core --- Library/Homebrew/cask/cmd.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cask/cmd.rb b/Library/Homebrew/cask/cmd.rb index e329ab6f81..3cc255bf69 100644 --- a/Library/Homebrew/cask/cmd.rb +++ b/Library/Homebrew/cask/cmd.rb @@ -228,7 +228,7 @@ module Cask raise ArgumentError, "help does not take arguments." if @args.length end - raise ArgumentError, "brew cask does not recognise this command" + raise ArgumentError, "Unknown Cask command: #{command}" end def purpose