about summary refs log tree commit diff
path: root/doc/manual
diff options
context:
space:
mode:
authorregnat <rg@regnat.ovh>2017-05-03T08·49+0200
committerregnat <rg@regnat.ovh>2017-05-03T08·49+0200
commita786d26dc27798a0d00b5433442c69815c8ba763 (patch)
treefc0d1609c6002fe64dcb59c675117d2e2ce50122 /doc/manual
parent39b08f4c0c8851d96daa2b7d4e674b13c75afec7 (diff)
doc: fix the description of --xml and --json
Those options seem to only apply with --eval and not with --parse.
Diffstat (limited to 'doc/manual')
-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 1e556c7ed7c4..3d03358bea3f 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>