aboutsummaryrefslogtreecommitdiff
path: root/src/nix-store/help.txt
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-11-23 18:16:25 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-11-23 18:16:25 +0000
commit3d55f1eb57c04efc10a093379ea38d6c0aefa588 (patch)
tree058fab07931935c9105c71551f189ba5600a962d /src/nix-store/help.txt
parentae6bf87273b30258408dc292611f3f50015b843c (diff)
* A command `nix-store --query --roots <paths>' to find the garbage
collector roots that point (directly or indirectly) to the given paths.
Diffstat (limited to 'src/nix-store/help.txt')
-rw-r--r--src/nix-store/help.txt15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/nix-store/help.txt b/src/nix-store/help.txt
index c4981168b..7576e3ef5 100644
--- a/src/nix-store/help.txt
+++ b/src/nix-store/help.txt
@@ -24,7 +24,6 @@ Operations:
--import: import a path from a Nix archive, and register as
valid
- --init: initialise the Nix database
--verify: verify Nix structures
--optimise: optimise the Nix store by hard-linking identical files
@@ -34,12 +33,14 @@ Operations:
Query flags:
--outputs: query the output paths of a Nix derivation (default)
- --requisites / -R: print all paths necessary to realise a path
- --references: print all paths referenced by the given path
- --referrers: print all paths directly refering to the given path
- --referrers-closure: print all paths (in)directly refering to the given path
- --tree: print a tree showing the dependency graph of the given paths
- --graph: print a dot graph rooted at given paths
+ --requisites / -R: print all paths necessary to realise the path
+ --references: print all paths referenced by the path
+ --referrers: print all paths directly refering to the path
+ --referrers-closure: print all paths (in)directly refering to the path
+ --tree: print a tree showing the dependency graph of the path
+ --graph: print a dot graph rooted at given path
+ --hash: print the SHA-256 hash of the contents of the path
+ --roots: print the garbage collector roots that point to the path
Query switches (not applicable to all queries):