summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/netrc-optional.md
blob: 9b9c068c88f66a0bd88077138266e83fb3d02f08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: netrc-optional
Help: Use either .netrc or URL
Mutexed: netrc
Category: auth
Added: 7.9.8
Multi: boolean
See-also:
  - netrc-file
Example:
  - --netrc-optional $URL
---

# `--netrc-optional`

Similar to --netrc, but this option makes the .netrc usage **optional**
and not mandatory as the --netrc option does.