diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-09-17T12·53+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-09-17T12·53+0000 |
commit | 77afd97a996a0bde569140b512879fbde83bf4a1 (patch) | |
tree | ffd7c6d9f067409ed07fe3b4c80a42ecc293fac1 /src/nix-store | |
parent | 7ab68961e4d7c30485efde1fb9dcb6edbdea9b5c (diff) |
* nix-store --gc / --delete: show how many store paths were deleted.
Diffstat (limited to 'src/nix-store')
-rw-r--r-- | src/nix-store/nix-store.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc index 2712d90602ed..dde04a4a8651 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); } }; |