forked from lix-project/lix
doc: fix the description of --xml and --json
Those options seem to only apply with --eval and not with --parse.
This commit is contained in:
parent
39b08f4c0c
commit
a786d26dc2
|
@ -117,21 +117,19 @@ input.</para>
|
||||||
|
|
||||||
<varlistentry><term><option>--xml</option></term>
|
<varlistentry><term><option>--xml</option></term>
|
||||||
|
|
||||||
<listitem><para>When used with <option>--parse</option> and
|
<listitem><para>When used with <option>--eval</option>, print the resulting
|
||||||
<option>--eval</option>, print the resulting expression as an
|
value as an XML representation of the abstract syntax tree rather than as
|
||||||
XML representation of the abstract syntax tree rather than as an
|
an ATerm. The schema is the same as that used by the <link
|
||||||
ATerm. The schema is the same as that used by the <link
|
linkend="builtin-toXML"><function>toXML</function> built-in</link>.
|
||||||
linkend="builtin-toXML"><function>toXML</function>
|
</para></listitem>
|
||||||
built-in</link>.</para></listitem>
|
|
||||||
|
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry><term><option>--json</option></term>
|
<varlistentry><term><option>--json</option></term>
|
||||||
|
|
||||||
<listitem><para>When used with <option>--parse</option> and
|
<listitem><para>When used with <option>--eval</option>, print the resulting
|
||||||
<option>--eval</option>, print the resulting expression as an
|
value as an JSON representation of the abstract syntax tree rather
|
||||||
JSON representation of the abstract syntax tree rather than as an
|
than as an ATerm.</para></listitem>
|
||||||
ATerm.</para></listitem>
|
|
||||||
|
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue