mirror of
https://github.com/curl/curl.git
synced 2024-12-21 06:50:10 +08:00
ef305de95c
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
709 B
Makefile
21 lines
709 B
Makefile
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
SPDX-License-Identifier: curl
|
|
Long: get
|
|
Short: G
|
|
Help: Put the post data in the URL and use GET
|
|
Category: http upload
|
|
Example: --get $URL
|
|
Example: --get -d "tool=curl" -d "age=old" $URL
|
|
Example: --get -I -d "tool=curl" $URL
|
|
Added: 7.8.1
|
|
See-also: data request
|
|
Multi: boolean
|
|
---
|
|
When used, this option will make all data specified with --data, --data-binary
|
|
or --data-urlencode to be used in an HTTP GET request instead of the POST
|
|
request that otherwise would be used. The data will be appended to the URL
|
|
with a '?' separator.
|
|
|
|
If used in combination with --head, the POST data will instead be appended to
|
|
the URL with a HEAD request.
|