aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/install.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-02 00:19:37 -0600
committerJack Nagel2014-03-02 00:21:13 -0600
commitffbe5bf22c6382fa0d06055311466bc4ab65accf (patch)
tree723dc94cac65df1611d4e222a542cc36accd8fd1 /Library/Homebrew/cmd/install.rb
parentea85812c589c9a27b77aa871d970928a8820406c (diff)
downloadbrew-ffbe5bf22c6382fa0d06055311466bc4ab65accf.tar.bz2
Let commands decide what mode the installer should use
Diffstat (limited to 'Library/Homebrew/cmd/install.rb')
-rw-r--r--Library/Homebrew/cmd/install.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index cd3c3c8d2..774a28472 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -104,6 +104,8 @@ module Homebrew extend self
def install_formula f
fi = FormulaInstaller.new(f)
+ fi.ignore_deps = ARGV.ignore_deps? || ARGV.interactive?
+ fi.only_deps = ARGV.only_deps?
fi.install
fi.caveats
fi.finish