diff options
| author | Markus Reiter | 2017-05-23 17:37:37 +0200 |
|---|---|---|
| committer | Markus Reiter | 2017-05-24 23:54:36 +0200 |
| commit | 0bb2773b171d8572bd7b73b38cc63ed2fa9b555a (patch) | |
| tree | b67499476fb00071f40b8f4873d889abea195c6a /Library/Homebrew/compat/hbc | |
| parent | a3e30a11d147da760c14cbbe00e50be53a468534 (diff) | |
| download | brew-0bb2773b171d8572bd7b73b38cc63ed2fa9b555a.tar.bz2 | |
Deprecate `--caskroom` flag.
Diffstat (limited to 'Library/Homebrew/compat/hbc')
| -rw-r--r-- | Library/Homebrew/compat/hbc/cli.rb | 12 |
1 files changed, 12 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..d563e64cb --- /dev/null +++ b/Library/Homebrew/compat/hbc/cli.rb @@ -0,0 +1,12 @@ +require "cask/lib/hbc/cli/options" + +module Hbc + class CLI + include Options + + 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 |
