about summary refs log tree commit diff
path: root/src/nix-store
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-09-21T19·06+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-09-21T19·06+0000
commit25df5017046ca5d4f753787532b747cb2c44fec6 (patch)
tree948f7146397ebb1ae0edacbc5e08b27b082bb6d0 /src/nix-store
parent0bd5eb71a0a23b27a02af591ba46e4cf2c34aa04 (diff)
* GC options in nix-store --help (NIX-15).
Diffstat (limited to 'src/nix-store')
-rw-r--r--src/nix-store/help.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/nix-store/help.txt b/src/nix-store/help.txt
index 0e04926af7cd..388a7521fb5b 100644
--- a/src/nix-store/help.txt
+++ b/src/nix-store/help.txt
@@ -15,6 +15,8 @@ Operations:
   --register-validity: register path validity (dangerous!)
   --check-validity: check path validity
 
+  --gc: run the garbage collector
+
   --dump: dump a path as a Nix archive
   --restore: restore a path from a Nix archive
 
@@ -39,7 +41,14 @@ Query switches (not applicable to all queries):
   --use-output: perform query on output of derivation, not derivation itself
   --force-realise: realise the path before performing the query
   --include-outputs: in `-R' on a derivation, include requisites of outputs
-  
+
+Garbage collector options:
+
+  --print-roots: print GC roots and exit
+  --print-live: print live paths and exit
+  --print-dead: print dead paths and exit
+  --delete: delete dead paths (default)
+    
 Options:
 
   --verbose / -v: verbose operation (may be repeated)