* nix-store --gc / --delete: show how many store paths were deleted.

This commit is contained in:
Eelco Dolstra 2008-09-17 12:53:33 +00:00
parent 7ab68961e4
commit 77afd97a99
1 changed files with 2 additions and 1 deletions

View File

@ -508,7 +508,8 @@ struct PrintFreed
~PrintFreed()
{
if (show)
cout << format("%1% freed\n")
cout << format("%1% store paths deleted, %2% freed\n")
% results.paths.size()
% showBytes(results.bytesFreed, results.blocksFreed);
}
};