Document nix-env -q --json

This commit is contained in:
Eelco Dolstra 2014-03-12 14:25:48 +01:00
parent d435e46daa
commit 006f24c7fa

View file

@ -784,6 +784,7 @@ $ nix-env --set-flag priority 10 gcc</screen>
<sbr /> <sbr />
<arg><option>--xml</option></arg> <arg><option>--xml</option></arg>
<arg><option>--json</option></arg>
<arg> <arg>
<group choice='req'> <group choice='req'>
<arg choice='plain'><option>--prebuilt-only</option></arg> <arg choice='plain'><option>--prebuilt-only</option></arg>
@ -877,6 +878,13 @@ user environment elements, etc. -->
</varlistentry> </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> <varlistentry><term><option>--prebuild-only</option> / <option>-b</option></term>
<listitem><para>Show only derivations for which a substitute is <listitem><para>Show only derivations for which a substitute is