about summary refs log tree commit diff
path: root/doc/manual
diff options
context:
space:
mode:
authorPaul Colomiets <paul@colomiets.name>2014-06-23T21·30+0300
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-06-27T09·23+0200
commit858b8f9760a81540b0a95068d96dc5c1628673c3 (patch)
treeb21b484e44a9193c2575eabd691505b47e1734ff /doc/manual
parent8504e7d60488cb12dd2597734ebd1d3cadf5d153 (diff)
Add `--json` argument to `nix-instantiate`
Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/nix-instantiate.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/manual/nix-instantiate.xml b/doc/manual/nix-instantiate.xml
index b388560a11f2..936f154dde56 100644
--- a/doc/manual/nix-instantiate.xml
+++ b/doc/manual/nix-instantiate.xml
@@ -124,6 +124,15 @@ input.</para>
 
   </varlistentry>
 
+  <varlistentry><term><option>--json</option></term>
+
+    <listitem><para>When used with <option>--parse</option> and
+    <option>--eval</option>, print the resulting expression as an
+    JSON representation of the abstract syntax tree rather than as an
+    ATerm.</para></listitem>
+
+  </varlistentry>
+
   <varlistentry><term><option>--strict</option></term>
 
     <listitem><para>When used with <option>--eval</option>,