aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2017-05-03 11:06:12 +0200
committerGitHub <noreply@github.com>2017-05-03 11:06:12 +0200
commitd3449b286bba82810bc05b684bbfd3b9173714fa (patch)
tree96a8046a5395fef8499e8ee6b13b5be30d7d42a0 /doc
parent16535552ad69ca5397967b84fd70cc0d27a38ac1 (diff)
parenta786d26dc27798a0d00b5433442c69815c8ba763 (diff)
Merge pull request #1371 from regnat/doc_--xml_fix
fix the description of --xml and --json
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/command-ref/nix-instantiate.xml18
1 files changed, 8 insertions, 10 deletions
diff --git a/doc/manual/command-ref/nix-instantiate.xml b/doc/manual/command-ref/nix-instantiate.xml
index 1e556c7ed..3d03358be 100644
--- a/doc/manual/command-ref/nix-instantiate.xml
+++ b/doc/manual/command-ref/nix-instantiate.xml
@@ -117,21 +117,19 @@ input.</para>
<varlistentry><term><option>--xml</option></term>
- <listitem><para>When used with <option>--parse</option> and
- <option>--eval</option>, print the resulting expression 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>
+ <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>--parse</option> and
- <option>--eval</option>, print the resulting expression as an
- JSON representation of the abstract syntax tree rather than as an
- ATerm.</para></listitem>
+ <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>