Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs/cmdline-opts: unify HTTP version style in --help output #16542

Closed
wants to merge 1 commit into from

Conversation

bagder
Copy link
Member

@bagder bagder commented Mar 3, 2025

$ 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

$ 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
@bagder bagder force-pushed the bagder/help-http-version branch from 7a07851 to 61a7857 Compare March 3, 2025 15:06
@bagder bagder closed this in aa18891 Mar 3, 2025
@bagder bagder deleted the bagder/help-http-version branch March 3, 2025 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants