summary refs log tree commit diff
path: root/doc/manual
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-03-12 14:25:48 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-03-12 14:25:48 +0100
commit006f24c7faf146d97742c1d7cc270ec107fa2e56 (patch)
tree4cffb234bf72dcd837f9c504bff01d0ad85c3080 /doc/manual
parentd435e46daa98ffd268b6bb7221b0f3841f3a63ef (diff)
downloadguix-006f24c7faf146d97742c1d7cc270ec107fa2e56.tar.gz
Document nix-env -q --json
Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/nix-env.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/manual/nix-env.xml b/doc/manual/nix-env.xml
index 5f87093ac1..92becccba7 100644
--- a/doc/manual/nix-env.xml
+++ b/doc/manual/nix-env.xml
@@ -784,6 +784,7 @@ $ nix-env --set-flag priority 10 gcc</screen>
   <sbr />
 
   <arg><option>--xml</option></arg>
+  <arg><option>--json</option></arg>
   <arg>
     <group choice='req'>
       <arg choice='plain'><option>--prebuilt-only</option></arg>
@@ -877,6 +878,13 @@ user environment elements, etc. -->
 
   </varlistentry>
 
+  <varlistentry><term><option>--json</option></term>
+
+    <listitem><para>Print the result in a JSON representation suitable
+    for automatic processing by other tools.</para></listitem>
+
+  </varlistentry>
+
   <varlistentry><term><option>--prebuild-only</option> / <option>-b</option></term>
 
     <listitem><para>Show only derivations for which a substitute is