aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAlexis Hildebrandt2015-11-19 10:05:23 +0100
committerBaptiste Fontaine2015-11-19 10:20:40 +0100
commita9b380539cf26a54e7a112445e522701501cc5fc (patch)
treea4477818af6466ea26d1c1ba954f533de0829536 /Library
parent6f5307fbd91670ac9395a4190a83e7d82211379d (diff)
downloadbrew-a9b380539cf26a54e7a112445e522701501cc5fc.tar.bz2
brew-deps: improved --tree formatting
Use proper BOX DRAWINGS LIGHT VERTICAL unicode character. Closes Homebrew/homebrew#46158. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
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 78a3c75b7..70b396bfd 100644
--- a/Library/Homebrew/cmd/deps.rb
+++ b/Library/Homebrew/cmd/deps.rb
@@ -82,7 +82,7 @@ module Homebrew
max = deps.length - 1
deps.each_with_index do |dep, i|
chr = i == max ? "└──" : "├──"
- prefix_ext = i == max ? " " : "| "
+ prefix_ext = i == max ? " " : "│ "
puts prefix + "#{chr} #{dep.name}"
recursive_deps_tree(Formulary.factory(dep.name), prefix + prefix_ext)
end