]> granicus.if.org Git - curl/commitdiff
CURLOPT_NETRC.3: mention the file name on windows
authorDaniel Stenberg <daniel@haxx.se>
Wed, 2 Aug 2017 12:34:26 +0000 (14:34 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 2 Aug 2017 12:34:26 +0000 (14:34 +0200)
... and CURLOPT_NETRC_FILE(3).

docs/libcurl/opts/CURLOPT_NETRC.3

index 1aa2ee2c32fb4c1eb98f7d1767e44f57371a5f28..50480ab5d6a4701462a4156209165984c402b7c2 100644 (file)
@@ -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), "