about summary refs log tree commit diff
path: root/src/nix-store/help.txt
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2010-05-31T16·36+0000
committerLudovic Courtès <ludo@gnu.org>2010-05-31T16·36+0000
commit8bcdd36f10c5adfd312493c822c95c6fa5fbd110 (patch)
tree902a9d2e37e0f7db536a204d66329ba8835e8b39 /src/nix-store/help.txt
parentda52f8bea0620cd55e10a8ec90306fa169f2d14f (diff)
Add XML output to `nix-store'.
* src/nix-store/Makefile.am (nix_store_SOURCES): Add `xmlgraph.cc' and
  `xmlgraph.hh'.

* src/nix-store/help.txt (Operations): Document `--xml'.

* src/nix-store/nix-store.cc (opQuery): Handle `--xml'.

* src/nix-store/xmlgraph.cc, src/nix-store/xmlgraph.hh: New files.
Diffstat (limited to 'src/nix-store/help.txt')
-rw-r--r--src/nix-store/help.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix-store/help.txt b/src/nix-store/help.txt
index 7576e3ef5d42..071934b2000f 100644
--- a/src/nix-store/help.txt
+++ b/src/nix-store/help.txt
@@ -39,6 +39,7 @@ Query flags:
   --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
+  --xml: emit an XML representation of the graph rooted at the 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