summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/netrc-file.d
blob: 3f6f7b1052df3882d6cbac23e84c965b9616a2a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Long: netrc-file
Help: Specify FILE for netrc
Arg: <filename>
Added: 7.21.5
Mutexed: netrc
Category: curl
Example: --netrc-file netrc $URL
See-also: netrc user config
---
This option is similar to --netrc, 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 --netrc-file options are provided,
the last one will be used.

It will abide by --netrc-optional if specified.