diff options
| author | Jack Nagel | 2014-03-26 21:51:27 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-26 21:53:34 -0500 |
| commit | 7618642d73ce173273325bb28badb4292cb0dfb6 (patch) | |
| tree | 3084e3f1498a783e8ab4caef33c30a8fd82f1974 /Library/Homebrew/cmd/link.rb | |
| parent | 63e1263ef2742ce011d659ead1f5c8e074a2a31f (diff) | |
| download | homebrew-7618642d73ce173273325bb28badb4292cb0dfb6.tar.bz2 | |
Add missing newline to link and unlink in verbose mode
Diffstat (limited to 'Library/Homebrew/cmd/link.rb')
| -rw-r--r-- | Library/Homebrew/cmd/link.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/link.rb b/Library/Homebrew/cmd/link.rb index 67ce43478..ff1f7fcf6 100644 --- a/Library/Homebrew/cmd/link.rb +++ b/Library/Homebrew/cmd/link.rb @@ -35,6 +35,7 @@ module Homebrew extend self keg.lock do print "Linking #{keg}... " do + puts if ARGV.verbose? puts "#{keg.link(mode)} symlinks created" end end @@ -54,9 +55,9 @@ module Homebrew extend self def print str, &block Kernel.print str puts_capture = Class.new do - def self.puts str + def self.puts(*args) $did_puts = true - Kernel.puts str + Kernel.puts(*args) end end |
