• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
2<!-- SPDX-License-Identifier: curl -->
3# OPTIONS
4Options start with one or two dashes. Many of the options require an
5additional value next to them. If provided text does not start with a dash, it
6is presumed to be and treated as a URL.
7
8The short "single-dash" form of the options, -d for example, may be used with
9or without a space between it and its value, although a space is a recommended
10separator. The long "double-dash" form, --data for example, requires a space
11between it and its value.
12
13Short version options that do not need any additional values can be used
14immediately next to each other, like for example you can specify all the
15options *-O*, *-L* and *-v* at once as *-OLv*.
16
17In general, all boolean options are enabled with --**option** and yet again
18disabled with --**no-**option. That is, you use the same option name but
19prefix it with "no-". However, in this list we mostly only list and show the
20*--option* version of them.
21
22When --next is used, it resets the parser state and you start again with a
23clean option state, except for the options that are "global". Global options
24retain their values and meaning even after --next.
25
26The following options are global: `%GLOBALS`.
27