about summary refs log tree commit diff
path: root/doc/manual/command-ref
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-02-16T13·23+0100
committerEelco Dolstra <edolstra@gmail.com>2017-02-16T13·24+0100
commitbd5388e7b22daa2d22c21578ef5735be8b8353a6 (patch)
tree63986c21b1a069f7e1a113c472fc7dd373bba9fb /doc/manual/command-ref
parentb63f79175e128f8ae394d2be7d65999263eebe27 (diff)
Tweak netrc docs
Diffstat (limited to 'doc/manual/command-ref')
-rw-r--r--doc/manual/command-ref/conf-file.xml16
1 files changed, 12 insertions, 4 deletions
diff --git a/doc/manual/command-ref/conf-file.xml b/doc/manual/command-ref/conf-file.xml
index a7d60538c215..0f7a2deba049 100644
--- a/doc/manual/command-ref/conf-file.xml
+++ b/doc/manual/command-ref/conf-file.xml
@@ -437,10 +437,18 @@ flag, e.g. <literal>--option gc-keep-outputs false</literal>.</para>
     trying to download from a remote host through HTTP or HTTPS. Defaults to
     <filename>$NIX_CONF_DIR/netrc</filename>.</para>
 
-    <para>The <filename>netrc</filename> file consists of zero or more lines
-    like: <literal>machine <replaceable>my-machine</replaceable> login
-    <replaceable>my-username</replaceable> password
-    <replaceable>my-password</replaceable></literal>.</para></listitem>
+    <para>The <filename>netrc</filename> file consists of a list of
+    accounts in the following format:
+
+<screen>
+machine <replaceable>my-machine</replaceable>
+login <replaceable>my-username</replaceable>
+password <replaceable>my-password</replaceable>
+</screen>
+
+    For the exact syntax, see <link
+    xlink:href="https://ec.haxx.se/usingcurl-netrc.html">the
+    <literal>curl</literal> documentation.</link></para></listitem>
 
   </varlistentry>