aboutsummaryrefslogtreecommitdiff
path: root/docs/curl.1
diff options
context:
space:
mode:
authorJulien Chaffraix <julien.chaffraix@gmail.com>2011-02-20 21:10:03 -0800
committerJulien Chaffraix <julien.chaffraix@gmail.com>2011-02-20 21:11:52 -0800
commit06fc3569d29718dcdd5647f172237b8cc555be1d (patch)
treef1088894a2e055b3e32c031b874939b7ffad0ed0 /docs/curl.1
parentc4369f34b9b493cbed4e7bcafa77614e9d55055d (diff)
curl: Added --netrc-file.
This enables people to specify a path to the netrc file to use. The new option override --netrc if both are present. However it does follow --netrc-optional if specified.
Diffstat (limited to 'docs/curl.1')
-rw-r--r--docs/curl.111
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/curl.1 b/docs/curl.1
index f1fe1b9a9..465aff4d7 100644
--- a/docs/curl.1
+++ b/docs/curl.1
@@ -815,6 +815,17 @@ to FTP to the machine host.domain.com with user name \&'myself' and password
.IP "--netrc-optional"
Very similar to \fI--netrc\fP, but this option makes the .netrc usage
\fBoptional\fP and not mandatory as the \fI--netrc\fP option does.
+
+.IP "--netrc-file"
+This option is similar to \fI--netrc\fP, except that you provide the path
+(absolute or relative) to the netrc file that Curl should use.
+You can only specify one netrc file per invocation. If several
+\fI--netrc-file\fP options are provided, only the \fBlast one\fP will be used.
+(Added in 7.21.5)
+
+This option overrides any use of \fI--netrc\fP as they are mutually exclusive.
+It will also abide by --netrc-optional if specified.
+
.IP "--negotiate"
(HTTP) Enables GSS-Negotiate authentication. The GSS-Negotiate method was
designed by Microsoft and is used in their web applications. It is primarily