xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 1 | c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al. |
| 2 | SPDX-License-Identifier: curl |
| 3 | Long: netrc-file |
| 4 | Help: Specify FILE for netrc |
| 5 | Arg: <filename> |
| 6 | Added: 7.21.5 |
| 7 | Mutexed: netrc |
| 8 | Category: curl |
| 9 | Example: --netrc-file netrc $URL |
| 10 | See-also: netrc user config |
| 11 | Multi: single |
| 12 | --- |
| 13 | This option is similar to --netrc, except that you provide the path (absolute |
| 14 | or relative) to the netrc file that curl should use. You can only specify one |
| 15 | netrc file per invocation. |
| 16 | |
| 17 | It will abide by --netrc-optional if specified. |