diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-09-17 12:53:33 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-09-17 12:53:33 +0000 |
commit | 77afd97a996a0bde569140b512879fbde83bf4a1 (patch) | |
tree | ffd7c6d9f067409ed07fe3b4c80a42ecc293fac1 /src/nix-store/nix-store.cc | |
parent | 7ab68961e4d7c30485efde1fb9dcb6edbdea9b5c (diff) |
* nix-store --gc / --delete: show how many store paths were deleted.
Diffstat (limited to 'src/nix-store/nix-store.cc')
-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 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); } }; |