From 77afd97a996a0bde569140b512879fbde83bf4a1 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 17 Sep 2008 12:53:33 +0000 Subject: [PATCH] * nix-store --gc / --delete: show how many store paths were deleted. --- src/nix-store/nix-store.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc index 2712d9060..dde04a4a8 100644 --- a/src/nix-store/nix-store.cc +++ b/src/nix-store/nix-store.cc @@ -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); } };