summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-08-25 15:39:13 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-08-25 15:39:13 +0000
commitfdec72c6cc720be899431c32f99221e8c4b88cd0 (patch)
tree668c1c754e7a47f67e5fd41aec0b882ea01186c6 /src
parent818047881e4906c670104851f69c3179ecc7fb1f (diff)
downloadguix-fdec72c6cc720be899431c32f99221e8c4b88cd0.tar.gz
* `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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-store/main.cc b/src/nix-store/main.cc
index 78599e3086..7bc8565d29 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) {