about summary refs log tree commit diff
path: root/src/nix-help.txt
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-28T12·19+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-28T12·19+0000
commit949c4fa1a863a804bdf1f985b55d5259f18838ae (patch)
tree2a3bb052b6658025c365dab1b17c736b72a0b485 /src/nix-help.txt
parentf21b3419575eec2b5bbcc12b035f21c23d57e24d (diff)
* `nix --help'.
* `nix --query --graph' to print a dot dependency graph of derive
  expressions.

Diffstat (limited to 'src/nix-help.txt')
-rw-r--r--src/nix-help.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/nix-help.txt b/src/nix-help.txt
new file mode 100644
index 000000000000..ecf9b5c16d25
--- /dev/null
+++ b/src/nix-help.txt
@@ -0,0 +1,36 @@
+nix [OPTIONS...] [ARGUMENTS...]
+
+Operations:
+
+  --install / -i: realise an fstate
+  --delete / -d: delete paths from the Nix store
+  --add / -A: copy a path to the Nix store
+  --query / -q: query information
+
+  --successor: register a successor expression
+  --substitute: register a substitute expression
+
+  --dump: dump a path as a Nix archive
+  --restore: restore a path from a Nix archive
+
+  --init: initialise the Nix database
+  --verify: verify Nix structures
+
+  --version: output version information
+  --help: display help
+
+Source selection for --install, --dump:
+
+  --path / -p: by file name  !!! -> path
+
+Query flags:
+
+  --list / -l: query the output paths (roots) of an fstate (default)
+  --refs / -r: query paths referenced by an fstate
+  --generators / -g: find expressions producing a subset of given ids
+  --expansion / -e: print a path containing id
+  --graph: print a dot graph rooted at given ids
+
+Options:
+
+  --verbose / -v: verbose operation (may be repeated)