diff options
| author | Jack Nagel | 2013-06-22 12:54:46 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-06-22 12:54:46 -0500 |
| commit | 2b56c52696abc100f6f47786da0779c6a2546f46 (patch) | |
| tree | 99f2c4313c69de3ade3a9c6a758458e6ae4aaa50 | |
| parent | acf7595e03974b61fa122b091d50c59133129470 (diff) | |
| download | homebrew-2b56c52696abc100f6f47786da0779c6a2546f46.tar.bz2 | |
deps: allow "--installed --tree"
| -rw-r--r-- | Library/Homebrew/cmd/deps.rb | 4 |
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 |
