aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-08-02 14:34:26 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-08-02 14:34:26 +0200
commit7e48aa386156f9c24fdb6a0e32305de669a7ab1d (patch)
tree24f88b276123cbdf6557fcc50276ff79f0e7e5a4 /docs/libcurl
parent1767adf4399bb3be29121435e1bb1cc2bc05f7bf (diff)
CURLOPT_NETRC.3: mention the file name on windows
... and CURLOPT_NETRC_FILE(3).
Diffstat (limited to 'docs/libcurl')
-rw-r--r--docs/libcurl/opts/CURLOPT_NETRC.36
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/libcurl/opts/CURLOPT_NETRC.3 b/docs/libcurl/opts/CURLOPT_NETRC.3
index 1aa2ee2c3..50480ab5d 100644
--- a/docs/libcurl/opts/CURLOPT_NETRC.3
+++ b/docs/libcurl/opts/CURLOPT_NETRC.3
@@ -30,7 +30,9 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_NETRC, long level);
.SH DESCRIPTION
This parameter controls the preference \fIlevel\fP of libcurl between using
user names and passwords from your \fI~/.netrc\fP file, relative to user names
-and passwords in the URL supplied with \fICURLOPT_URL(3)\fP.
+and passwords in the URL supplied with \fICURLOPT_URL(3)\fP. On Windows,
+libcurl will use the file as \fI%HOME/_netrc\fP, but you can also tell libcurl
+a different file name to use with \fICURLOPT_NETRC_FILE(3)\fP.
libcurl uses a user name (and supplied or prompted password) supplied with
\fICURLOPT_USERPWD(3)\fP or \fICURLOPT_USERNAME(3)\fP in preference to any of
@@ -78,4 +80,4 @@ Always
.SH RETURN VALUE
Returns CURLE_OK
.SH "SEE ALSO"
-.BR CURLOPT_USERPWD "(3), " CURLOPT_USERNAME "(3), "
+.BR CURLOPT_USERPWD "(3), " CURLOPT_USERNAME "(3), ", CURLOPT_NETRC_FILE "(3), "