Skip to content

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

Closed
bagder wants to merge 2 commits into
masterfrom
bagder/help-width
Closed

curl: make --help adapt to the terminal width#13171
bagder wants to merge 2 commits into
masterfrom
bagder/help-width

Conversation

@bagder

@bagder bagder commented Mar 22, 2024

Copy link
Copy Markdown
Member

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

Ref: #13141

bagder added 2 commits March 25, 2024 13:07
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
bagder force-pushed the bagder/help-width branch from cd9bcc2 to 76b9ae4 Compare March 25, 2024 12:10
@bagder

bagder commented Mar 25, 2024

Copy link
Copy Markdown
Member Author

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

@jay

jay commented Mar 26, 2024

Copy link
Copy Markdown
Member

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.

2 participants