Make invalid command error language consistent with brew core

This commit is contained in:
Jacob Ford 2019-10-04 14:27:32 -04:00
parent aed6bc194d
commit ea0150f7a3

View File

@ -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