aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/deps.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/deps.rb b/Library/Homebrew/cmd/deps.rb
index 05cc4b777..bb0868360 100644
--- a/Library/Homebrew/cmd/deps.rb
+++ b/Library/Homebrew/cmd/deps.rb
@@ -10,7 +10,9 @@ module Homebrew extend self
:topo_order? => ARGV.include?('-n')
)
- if mode.installed?
+ if mode.installed? && mode.tree?
+ puts_deps_tree Formula.installed
+ elsif mode.installed?
puts_deps Formula.installed
elsif mode.all?
puts_deps Formula