aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils.rb
diff options
context:
space:
mode:
authorMax Howell2009-09-05 14:31:17 +0100
committerMax Howell2009-09-05 14:35:26 +0100
commit87605d534bd75151df532f507f4bd10d3225aeed (patch)
tree925a0b441b6ae6ad47ff366a28ee6b4ada15e7b7 /Library/Homebrew/utils.rb
parente30c1c88504fdbc796666c72cb0dfb35b067f2dc (diff)
downloadbrew-87605d534bd75151df532f507f4bd10d3225aeed.tar.bz2
Don't trim ohai message in verbose mode
Diffstat (limited to 'Library/Homebrew/utils.rb')
-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?