aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask
diff options
context:
space:
mode:
authorMarkus Reiter2016-09-25 20:43:03 +0200
committerMarkus Reiter2016-10-03 02:34:53 +0200
commit546a91f78e67939e49df4984562f02b25e68aa72 (patch)
tree29f111f80f20d9db010e1f0bf3c1aae21409c42e /Library/Homebrew/cask
parentb703c81ca6640ee2ff3d0489462c672a2aa18c0f (diff)
downloadbrew-546a91f78e67939e49df4984562f02b25e68aa72.tar.bz2
Add `—language` option.
Diffstat (limited to 'Library/Homebrew/cask')
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli.rb b/Library/Homebrew/cask/lib/hbc/cli.rb
index 3f67e131d..f637ae7af 100644
--- a/Library/Homebrew/cask/lib/hbc/cli.rb
+++ b/Library/Homebrew/cask/lib/hbc/cli.rb
@@ -179,6 +179,10 @@ module Hbc
def self.parser
# If you modify these arguments, please update USAGE.md
@parser ||= OptionParser.new do |opts|
+ opts.on("--language STRING") do
+ # handled in OS::Mac
+ end
+
OPTIONS.each do |option, method|
opts.on("#{option}" "PATH", Pathname) do |path|
Hbc.public_send(method, path)