aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/cleanup.rb
diff options
context:
space:
mode:
authorDominyk Tiller2015-04-06 20:00:25 +0100
committerMike McQuaid2015-04-07 18:32:29 +0100
commita81082447a8c1456840aaa2c98cb2bc6aa27f23f (patch)
tree104c57c9c290011efd139716862335e312088daa /Library/Homebrew/cmd/cleanup.rb
parente58735a762713402d6b7cbd7d5a315aa4f5556a8 (diff)
downloadhomebrew-a81082447a8c1456840aaa2c98cb2bc6aa27f23f.tar.bz2
cleanup: display file-sizes
Closes #38404
Diffstat (limited to 'Library/Homebrew/cmd/cleanup.rb')
-rw-r--r--Library/Homebrew/cmd/cleanup.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/cleanup.rb b/Library/Homebrew/cmd/cleanup.rb
index c9bc2cb12..b4d9658d7 100644
--- a/Library/Homebrew/cmd/cleanup.rb
+++ b/Library/Homebrew/cmd/cleanup.rb
@@ -67,9 +67,9 @@ module Homebrew
if keg.linked?
opoo "Skipping (old) #{keg} due to it being linked"
elsif ARGV.dry_run?
- puts "Would remove: #{keg}"
+ puts "Would remove: #{keg} (#{keg.abv})"
else
- puts "Removing: #{keg}..."
+ puts "Removing: #{keg}... (#{keg.abv})"
keg.uninstall
end
end
@@ -94,9 +94,9 @@ module Homebrew
def cleanup_cached_file file
if ARGV.dry_run?
- puts "Would remove: #{file}"
+ puts "Would remove: #{file} (#{file.abv})"
else
- puts "Removing: #{file}..."
+ puts "Removing: #{file}... (#{file.abv})"
file.unlink
end
end