diff options
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/cli.rb')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli.rb b/Library/Homebrew/cask/lib/hbc/cli.rb index 39235fa63..3176489cb 100644 --- a/Library/Homebrew/cask/lib/hbc/cli.rb +++ b/Library/Homebrew/cask/lib/hbc/cli.rb @@ -229,9 +229,9 @@ module Hbc remaining << head retry rescue OptionParser::MissingArgument - raise CaskError, "The option '#{head}' requires an argument" + raise ArgumentError, "The option '#{head}' requires an argument." rescue OptionParser::AmbiguousOption - raise CaskError, "There is more than one possible option that starts with '#{head}'" + raise ArgumentError, "There is more than one possible option that starts with '#{head}'." end end |
