xref: /curl/docs/cmdline-opts/netrc-optional.md (revision 2abfc759)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: netrc-optional
5Help: Use either .netrc or URL
6Mutexed: netrc
7Category: auth
8Added: 7.9.8
9Multi: boolean
10See-also:
11  - netrc-file
12Example:
13  - --netrc-optional $URL
14---
15
16# `--netrc-optional`
17
18Similar to --netrc, but this option makes the .netrc usage **optional**
19and not mandatory as the --netrc option does.
20