The keyword specifies how option works when specified multiple times: - single: the last provided value replaces the earlier ones - append: it supports being provided multiple times - boolean: on/off values - mutex: flag-like option that disable anoter flag The 'gen.pl' script then outputs the proper and unified language for each option's multi-use behavior in the generated man page. The multi: header is requires in each .d file and will cause build error if missing or set to an unknown value. Closes #9759
21 lines
730 B
Makefile
21 lines
730 B
Makefile
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
SPDX-License-Identifier: curl
|
|
Long: referer
|
|
Short: e
|
|
Arg: <URL>
|
|
Protocols: HTTP
|
|
Help: Referrer URL
|
|
See-also: user-agent header
|
|
Category: http
|
|
Example: --referer "https://fake.example" $URL
|
|
Example: --referer "https://fake.example;auto" -L $URL
|
|
Example: --referer ";auto" -L $URL
|
|
Added: 4.0
|
|
Multi: single
|
|
---
|
|
Sends the "Referrer Page" information to the HTTP server. This can also be set
|
|
with the --header flag of course. When used with --location you can append
|
|
";auto" to the --referer URL to make curl automatically set the previous URL
|
|
when it follows a Location: header. The ";auto" string can be used alone,
|
|
even if you do not set an initial --referer.
|