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

curl: make --help adapt to the terminal width #13171

Closed
wants to merge 2 commits into from
Closed

Conversation

bagder
Copy link
Member

@bagder bagder commented Mar 22, 2024

Instead of assuming and working with 80 colums, try figuring out what width is actually used.

Ref: #13141

Instead of assuming and working with 80 colums, try figuring out what
width is actually used.

Ref: #13141
Instead of assuming and working with 80 colums, try figuring out what
width is actually used.

Ref: #13141
Closes #13171
@bagder
Copy link
Member Author

bagder commented Mar 25, 2024

@jay can you double-check how this math works for Windows. I suspect we might have to tweak it there.

@jay
Copy link
Member

jay commented Mar 26, 2024

looks ok, here's an excerpt

 -Z, --parallel                    Perform transfers in parallel
     --parallel-immediate        Do not wait for multiplexing (with --parallel)
     --parallel-max <num>          Maximum concurrency for parallel transfers
     --pass <phrase>               Pass phrase for the private key
     --path-as-is                  Do not squash .. sequences in URL path
     --pinnedpubkey <hashes>      FILE/HASHES Public key to verify peer against
     --post301                     Do not switch to GET after a 301 redirect
     --post302                     Do not switch to GET after a 302 redirect
     --post303                     Do not switch to GET after a 303 redirect
     --preproxy [protocol://]host[:port]  Use this proxy first
 -#, --progress-bar                Display transfer progress as a bar
     --proto <protocols>           Enable/disable PROTOCOLS
     --proto-default <protocol>    Use PROTOCOL for any URL missing a scheme

@bagder bagder closed this in 2efc111 Mar 27, 2024
@bagder bagder deleted the bagder/help-width branch March 27, 2024 13:14
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.

None yet

2 participants