From 68a513083ebbd6a91a0fbb27daff0401edf7f47a Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Wed, 24 May 2017 02:46:23 +0200 Subject: [PATCH] Also move `--binarydir` to `compat/*`. --- Library/Homebrew/cask/lib/hbc/cli.rb | 4 ---- 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 f0cb5806f6..0eb21b0a7d 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 d563e64cb3..0173bce9c4 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)