diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-08-25 15:39:13 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-08-25 15:39:13 +0000 |
commit | fdec72c6cc720be899431c32f99221e8c4b88cd0 (patch) | |
tree | 668c1c754e7a47f67e5fd41aec0b882ea01186c6 /src | |
parent | 818047881e4906c670104851f69c3179ecc7fb1f (diff) |
* `nix-collect-garbage' now actually performs a garbage collection, it
doesn't just print the set of paths that should be deleted. So
there is no more need to pipe the result into `nix-store --delete'
(which doesn't even exist anymore).
Diffstat (limited to 'src')
-rw-r--r-- | src/nix-store/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-store/main.cc b/src/nix-store/main.cc index 78599e308..7bc8565d2 100644 --- a/src/nix-store/main.cc +++ b/src/nix-store/main.cc @@ -222,7 +222,7 @@ static void opGC(Strings opFlags, Strings opArgs) if (flag == "--print-live") subOp = soPrintLive; else if (flag == "--print-dead") subOp = soPrintDead; else if (flag == "--delete") subOp = soDelete; - else throw UsageError(format("bad sub-operation `%1% in GC") % flag); + else throw UsageError(format("bad sub-operation `%1%' in GC") % flag); Paths roots; while (1) { |