Merge pull request #2168 from grahamc/explain-why-netrc-is-busted

manual: document why ~/.netrc doesn't work
This commit is contained in:
Eelco Dolstra 2018-09-01 21:25:04 +02:00 committed by GitHub
commit c5ab07ec2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -527,7 +527,12 @@ password <replaceable>my-password</replaceable>
For the exact syntax, see <link For the exact syntax, see <link
xlink:href="https://ec.haxx.se/usingcurl-netrc.html">the 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> </varlistentry>