aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2009-09-05 14:31:17 +0100
committerMax Howell2009-09-05 14:35:26 +0100
commitc4e1abcad993e7384a413a31b4c8a8784f862c6b (patch)
tree38681edba67281dac0c79aff126551fb2894bcd8 /Library
parentb06eb7feff5f97debbe222d00157636a298d9ebb (diff)
downloadhomebrew-c4e1abcad993e7384a413a31b4c8a8784f862c6b.tar.bz2
Don't trim ohai message in verbose mode
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/utils.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index f14f017dc..3c6a8e12c 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -25,6 +25,7 @@
def ohai title, *args
return if args.length > 0 and args[0].nil?
n=`tput cols`.strip.to_i-4
+ n=title.length if ARGV.verbose?
puts "\033[0;34m==>\033[0;0;1m #{title[0,n]}\033[0;0m"
args.each do |arg|
return if arg.nil?