xref: /aosp_15_r20/external/curl/docs/cmdline-opts/netrc-optional.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1---
2c: Copyright (C) Daniel Stenberg, <[email protected]>, 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