Also move --binarydir to compat/*.

This commit is contained in:
Markus Reiter 2017-05-24 02:46:23 +02:00
parent 0bb2773b17
commit 68a513083e
2 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -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)