diff options
| author | Markus Reiter | 2017-05-24 02:46:23 +0200 |
|---|---|---|
| committer | Markus Reiter | 2017-05-24 23:54:36 +0200 |
| commit | 68a513083ebbd6a91a0fbb27daff0401edf7f47a (patch) | |
| tree | 8b827598a32dea11d3f9999e520bc93700117194 | |
| parent | 0bb2773b171d8572bd7b73b38cc63ed2fa9b555a (diff) | |
| download | brew-68a513083ebbd6a91a0fbb27daff0401edf7f47a.tar.bz2 | |
Also move `--binarydir` to `compat/*`.
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli.rb | 4 | ||||
| -rw-r--r-- | Library/Homebrew/compat/hbc/cli.rb | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli.rb b/Library/Homebrew/cask/lib/hbc/cli.rb index f0cb5806f..0eb21b0a7 100644 --- a/Library/Homebrew/cask/lib/hbc/cli.rb +++ b/Library/Homebrew/cask/lib/hbc/cli.rb @@ -62,10 +62,6 @@ module Hbc option "--vst_plugindir=PATH", ->(value) { Hbc.vst_plugindir = value } option "--vst3_plugindir=PATH", ->(value) { Hbc.vst3_plugindir = value } option "--screen_saverdir=PATH", ->(value) { Hbc.screen_saverdir = value } - option "--binarydir=PATH", ->(*) { opoo(<<-EOS.undent) } - Option --binarydir is obsolete! - Homebrew-Cask now uses the same location as your Homebrew installation for executable links. - EOS option "--help", :help, false 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) |
