man page (nix-instantiate): Add --json to synopsis, order variables

This commit is contained in:
Robert Vollmert 2017-07-07 21:51:22 +02:00
parent b1f5995a20
commit 8ad898b2cd

View file

@ -24,6 +24,7 @@
<arg choice='plain'> <arg choice='plain'>
<option>--eval</option> <option>--eval</option>
<arg><option>--strict</option></arg> <arg><option>--strict</option></arg>
<arg><option>--json</option></arg>
<arg><option>--xml</option></arg> <arg><option>--xml</option></arg>
</arg> </arg>
</group> </group>
@ -116,24 +117,6 @@ input.</para>
</varlistentry> </varlistentry>
<varlistentry><term><option>--xml</option></term>
<listitem><para>When used with <option>--eval</option>, print the resulting
value as an XML representation of the abstract syntax tree rather than as
an ATerm. The schema is the same as that used by the <link
linkend="builtin-toXML"><function>toXML</function> built-in</link>.
</para></listitem>
</varlistentry>
<varlistentry><term><option>--json</option></term>
<listitem><para>When used with <option>--eval</option>, print the resulting
value as an JSON representation of the abstract syntax tree rather
than as an ATerm.</para></listitem>
</varlistentry>
<varlistentry><term><option>--strict</option></term> <varlistentry><term><option>--strict</option></term>
<listitem><para>When used with <option>--eval</option>, <listitem><para>When used with <option>--eval</option>,
@ -148,6 +131,24 @@ input.</para>
</varlistentry> </varlistentry>
<varlistentry><term><option>--json</option></term>
<listitem><para>When used with <option>--eval</option>, print the resulting
value as an JSON representation of the abstract syntax tree rather
than as an ATerm.</para></listitem>
</varlistentry>
<varlistentry><term><option>--xml</option></term>
<listitem><para>When used with <option>--eval</option>, print the resulting
value as an XML representation of the abstract syntax tree rather than as
an ATerm. The schema is the same as that used by the <link
linkend="builtin-toXML"><function>toXML</function> built-in</link>.
</para></listitem>
</varlistentry>
<varlistentry><term><option>--read-write-mode</option></term> <varlistentry><term><option>--read-write-mode</option></term>
<listitem><para>When used with <option>--eval</option>, perform <listitem><para>When used with <option>--eval</option>, perform