aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAlex Dunn2015-07-20 18:44:00 -0700
committerAlex Dunn2015-07-21 09:44:15 -0700
commitd2c1a182d55bb97f68a038a616ddcdb27df76ca2 (patch)
tree297444abadcbc8882acade2a1147b9ce8eee5410 /Library
parent744de3008995bc17f4eef115d3302937cab447da (diff)
downloadbrew-d2c1a182d55bb97f68a038a616ddcdb27df76ca2.tar.bz2
cmd/deps: --tree shows required dependencies only
Until we figure out how to allow --tree to show optional dependencies in a way that fits on a normal screen, this helps to explain the discrepancy between `brew deps` and `brew deps --tree`. Closes Homebrew/homebrew#41841. Closes Homebrew/homebrew#41947.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/deps.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/deps.rb b/Library/Homebrew/cmd/deps.rb
index 658b07902..180ad3de3 100644
--- a/Library/Homebrew/cmd/deps.rb
+++ b/Library/Homebrew/cmd/deps.rb
@@ -64,7 +64,7 @@ module Homebrew
def puts_deps_tree(formulae)
formulae.each do |f|
- puts f.full_name
+ puts "#{f.full_name} (required dependencies)"
recursive_deps_tree(f, "")
puts
end