aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Reiter2017-06-12 19:07:52 +0200
committerMarkus Reiter2017-06-13 19:27:26 +0200
commit5a047c7c27685a8576fb0f8c420700d2dc564bfc (patch)
tree1790c973a7b4543eb93befdacc3c58d39b15061b
parent054ed10cb1ea2d64c39ba2a3208c14a33d31274d (diff)
downloadbrew-5a047c7c27685a8576fb0f8c420700d2dc564bfc.tar.bz2
Fix `--language` option.
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli.rb b/Library/Homebrew/cask/lib/hbc/cli.rb
index eec2788ec..8503c339a 100644
--- a/Library/Homebrew/cask/lib/hbc/cli.rb
+++ b/Library/Homebrew/cask/lib/hbc/cli.rb
@@ -66,7 +66,7 @@ module Hbc
option "--help", :help, false
# handled in OS::Mac
- option "--language a,b,c", ->(*) { raise OptionParser::InvalidOption }
+ option "--language a,b,c", ->(*) {}
# override default handling of --version
option "--version", ->(*) { raise OptionParser::InvalidOption }