aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat/hbc/cli.rb
blob: fb17a1d05039496e215117fa01fa7126506ea268 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require "cask/lib/hbc/cli/options"

module Hbc
  class CLI
    include Options

    option "--binarydir=PATH", (lambda do |*|
      opoo <<~EOS
        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 |*|
      odisabled "`brew cask` with the `--caskroom` flag"
    end)
  end
end