Document nix-env -q --json

This commit is contained in:
Eelco Dolstra 2014-03-12 14:25:48 +01:00
parent d435e46daa
commit 006f24c7fa
1 changed files with 8 additions and 0 deletions

View File

@ -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