aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/brew.h.rb2
-rw-r--r--Library/Homebrew/utils.rb6
2 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/brew.h.rb b/Library/Homebrew/brew.h.rb
index 4f9601f26..ae376707d 100644
--- a/Library/Homebrew/brew.h.rb
+++ b/Library/Homebrew/brew.h.rb
@@ -537,7 +537,7 @@ private
when 0
# noop
when 1
- puts *files
+ puts files
else
puts "#{root}/ (#{files.length} #{other}files)"
end
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index 4d426a9bf..24846d6b1 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -63,7 +63,7 @@ end
def ohai title, *sput
title = title.to_s[0, `/usr/bin/tput cols`.strip.to_i-4] unless ARGV.verbose?
puts "#{Tty.blue}==>#{Tty.white} #{title}#{Tty.reset}"
- puts *sput unless sput.empty?
+ puts sput unless sput.empty?
end
def opoo warning
@@ -73,7 +73,7 @@ end
def onoe error
lines = error.to_s.split'\n'
puts "#{Tty.red}Error#{Tty.reset}: #{lines.shift}"
- puts *lines unless lines.empty?
+ puts lines unless lines.empty?
end
def pretty_duration s
@@ -140,7 +140,7 @@ def puts_columns items, cols = 4
IO.popen("/usr/bin/pr -#{cols} -t -w#{console_width}", "w"){|io| io.puts(items) }
else
- puts *items
+ puts items
end
end