about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGraham Christensen <graham.christensen@target.com>2018-05-18T18·19-0400
committerGraham Christensen <graham@grahamc.com>2018-05-18T18·21-0400
commit33712fed389976a40ca48631266e5604e8f7e955 (patch)
tree4015b031ae04372ea920694167b5160d52c1b6c2
parent966407bcf1cf86de508b20fef43cffb81d8a87dc (diff)
manual: document why ~/.netrc doesn't work
Maybe there is a better place to document this, which is more generic?
-rw-r--r--doc/manual/command-ref/conf-file.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/manual/command-ref/conf-file.xml b/doc/manual/command-ref/conf-file.xml
index 1865bb37c860..5045f85d392e 100644
--- a/doc/manual/command-ref/conf-file.xml
+++ b/doc/manual/command-ref/conf-file.xml
@@ -524,7 +524,12 @@ password <replaceable>my-password</replaceable>
 
     For the exact syntax, see <link
     xlink:href="https://ec.haxx.se/usingcurl-netrc.html">the
-    <literal>curl</literal> documentation.</link></para></listitem>
+    <literal>curl</literal> documentation.</link></para>
+
+    <note><para>This must be an absolute path, and <literal>~</literal>
+    is not resolved. For example, <filename>~/.netrc</filename> won't
+    resolve to your home directory's <filename>.netrc</filename>.</para></note>
+    </listitem>
 
   </varlistentry>