aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/upgrade.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-02 00:19:37 -0600
committerJack Nagel2014-03-02 00:21:13 -0600
commit881a8855b944fa9bd7dfd598bb9197f79f7a13f0 (patch)
tree49ddaac59f8c78e639e238518ec8969abbd00d76 /Library/Homebrew/cmd/upgrade.rb
parent4f63fc566ecaa9ddcb3e59a7ac5755260a0511b1 (diff)
downloadhomebrew-881a8855b944fa9bd7dfd598bb9197f79f7a13f0.tar.bz2
Let commands decide what mode the installer should use
Diffstat (limited to 'Library/Homebrew/cmd/upgrade.rb')
-rw-r--r--Library/Homebrew/cmd/upgrade.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb
index d222c5a98..f7eaa5185 100644
--- a/Library/Homebrew/cmd/upgrade.rb
+++ b/Library/Homebrew/cmd/upgrade.rb
@@ -65,6 +65,8 @@ module Homebrew extend self
installer = FormulaInstaller.new(f)
installer.options |= tab.used_options
installer.show_header = false
+ installer.ignore_deps = ARGV.ignore_deps?
+ fi.only_deps = ARGV.only_deps?
oh1 "Upgrading #{f.name}"