aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat
diff options
context:
space:
mode:
authorMarkus Reiter2017-05-24 02:46:23 +0200
committerMarkus Reiter2017-05-24 23:54:36 +0200
commit68a513083ebbd6a91a0fbb27daff0401edf7f47a (patch)
tree8b827598a32dea11d3f9999e520bc93700117194 /Library/Homebrew/compat
parent0bb2773b171d8572bd7b73b38cc63ed2fa9b555a (diff)
downloadbrew-68a513083ebbd6a91a0fbb27daff0401edf7f47a.tar.bz2
Also move `--binarydir` to `compat/*`.
Diffstat (limited to 'Library/Homebrew/compat')
-rw-r--r--Library/Homebrew/compat/hbc/cli.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Homebrew/compat/hbc/cli.rb b/Library/Homebrew/compat/hbc/cli.rb
index d563e64cb..0173bce9c 100644
--- a/Library/Homebrew/compat/hbc/cli.rb
+++ b/Library/Homebrew/compat/hbc/cli.rb
@@ -4,6 +4,13 @@ module Hbc
class CLI
include Options
+ option "--binarydir=PATH", (lambda do |*|
+ opoo <<-EOS.undent
+ Option --binarydir is obsolete!
+ Homebrew-Cask now uses the same location as your Homebrew installation for executable links.
+ EOS
+ end)
+
option "--caskroom=PATH", (lambda do |value|
Hbc.caskroom = value
odeprecated "`brew cask` with the `--caskroom` flag", disable_on: Time.utc(2017, 10, 31)