curl/docs/cmdline-opts/netrc-file.d

15 lines
449 B
D
Raw Normal View History

2016-11-16 21:20:36 +08:00
Long: netrc-file
Help: Specify FILE for netrc
2017-03-11 18:44:06 +08:00
Arg: <filename>
2016-11-16 21:20:36 +08:00
Added: 7.21.5
Mutexed: netrc
Category: curl
Example: --netrc-file netrc $URL
2016-11-16 21:20:36 +08:00
---
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
2016-11-16 21:20:36 +08:00
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.