aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask
diff options
context:
space:
mode:
authorMarkus Reiter2017-06-14 14:26:44 +0200
committerGitHub2017-06-14 14:26:44 +0200
commit3fe32053a7f0d7f817a90e308ab0c62436a5c208 (patch)
treedb82470e49d238ca77f11e838939b90895d691d4 /Library/Homebrew/cask
parentbfcb3928f86ea7e4b9274d9f85a502a3b38ac2d4 (diff)
parentdcb85571ca468a573c5ac4f76752ec7e732d9e82 (diff)
downloadbrew-3fe32053a7f0d7f817a90e308ab0c62436a5c208.tar.bz2
Merge pull request #2775 from reitermarkus/language
Fix `--language` option.
Diffstat (limited to 'Library/Homebrew/cask')
-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 04a414904..0108c1621 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 }