mirror of
https://github.com/curl/curl.git
synced 2026-07-26 01:27:15 +03:00
docs/cmdline-opts: unify HTTP version style in --help output
$ curl -h all | grep -- --http
Now:
--http0.9 Allow HTTP/0.9 responses
-0, --http1.0 Use HTTP/1.0
--http1.1 Use HTTP/1.1
--http2 Use HTTP/2
--http2-prior-knowledge Use HTTP/2 without HTTP/1.1 Upgrade
--http3 Use HTTP/3
--http3-only Use HTTP/3 only
Before:
--http0.9 Allow HTTP 0.9 responses
-0, --http1.0 Use HTTP 1.0
--http1.1 Use HTTP 1.1
--http2 Use HTTP/2
--http2-prior-knowledge Use HTTP 2 without HTTP/1.1 Upgrade
--http3 Use HTTP v3
--http3-only Use HTTP v3 only
Closes #16542
This commit is contained in:
parent
48ba23070a
commit
aa18891dda
7 changed files with 12 additions and 12 deletions
|
|
@ -279,25 +279,25 @@ const struct helptxt helptext[] = {
|
|||
"Enable HSTS with this cache file",
|
||||
CURLHELP_HTTP},
|
||||
{" --http0.9",
|
||||
"Allow HTTP 0.9 responses",
|
||||
"Allow HTTP/0.9 responses",
|
||||
CURLHELP_HTTP},
|
||||
{"-0, --http1.0",
|
||||
"Use HTTP 1.0",
|
||||
"Use HTTP/1.0",
|
||||
CURLHELP_HTTP},
|
||||
{" --http1.1",
|
||||
"Use HTTP 1.1",
|
||||
"Use HTTP/1.1",
|
||||
CURLHELP_HTTP},
|
||||
{" --http2",
|
||||
"Use HTTP/2",
|
||||
CURLHELP_HTTP},
|
||||
{" --http2-prior-knowledge",
|
||||
"Use HTTP 2 without HTTP/1.1 Upgrade",
|
||||
"Use HTTP/2 without HTTP/1.1 Upgrade",
|
||||
CURLHELP_HTTP},
|
||||
{" --http3",
|
||||
"Use HTTP v3",
|
||||
"Use HTTP/3",
|
||||
CURLHELP_HTTP},
|
||||
{" --http3-only",
|
||||
"Use HTTP v3 only",
|
||||
"Use HTTP/3 only",
|
||||
CURLHELP_HTTP},
|
||||
{" --ignore-content-length",
|
||||
"Ignore the size of the remote resource",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue