aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2015-04-06 20:00:25 +0100
committerMike McQuaid2015-04-07 18:32:29 +0100
commit45c9e84c1579e995911e4006043d19246e7e1285 (patch)
tree1eb6201340f3f771ca198aa20204c15c276c789f /Library
parentc9e45b9c268bfe1ad6922b27a97c7f4272603a80 (diff)
downloadbrew-45c9e84c1579e995911e4006043d19246e7e1285.tar.bz2
cleanup: display file-sizes
Closes Homebrew/homebrew#38404
Diffstat (limited to 'Library')
-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