aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat/hbc/cli.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/compat/hbc/cli.rb')
-rw-r--r--Library/Homebrew/compat/hbc/cli.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Homebrew/compat/hbc/cli.rb b/Library/Homebrew/compat/hbc/cli.rb
new file mode 100644
index 000000000..0173bce9c
--- /dev/null
+++ b/Library/Homebrew/compat/hbc/cli.rb
@@ -0,0 +1,19 @@
+require "cask/lib/hbc/cli/options"
+
+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)
+ end)
+ end
+end