25 lines
467 B
Markdown
Raw Normal View History

2024-05-15 15:20:32 -04:00
---
2023-12-11 20:30:44 -05:00
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: netrc-file
Help: Specify FILE for netrc
Arg: <filename>
Added: 7.21.5
Mutexed: netrc
Category: curl
Multi: single
2024-05-15 15:20:32 -04:00
See-also:
- netrc
- user
- config
Example:
- --netrc-file netrc $URL
2023-12-11 20:30:44 -05:00
---
2024-05-15 15:20:32 -04:00
# `--netrc-file`
Set the netrc file to use. Similar to --netrc, except that you also provide
the path (absolute or relative).
2023-12-11 20:30:44 -05:00
It abides by --netrc-optional if specified.