diff options
Diffstat (limited to 'Library/Homebrew/cmd/install.rb')
| -rw-r--r-- | Library/Homebrew/cmd/install.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 1fb5a2f0e..69c1fe7fa 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -31,9 +31,13 @@ module Homebrew if ARGV.casks.any? brew_cask = Formulary.factory("brew-cask") install_formula(brew_cask) unless brew_cask.installed? + args = [] + args << "--force" if ARGV.force? + args << "--debug" if ARGV.debug? + args << "--verbose" if ARGV.verbose? ARGV.casks.each do |c| - cmd = "brew", "cask", "install", c + cmd = "brew", "cask", "install", c, *args ohai cmd.join " " system(*cmd) end |
