Skip to content

curl: add 2 options to -h important#20483

Closed
jhauga wants to merge 2 commits intocurl:masterfrom
jhauga:curl-help-opt-x3
Closed

curl: add 2 options to -h important#20483
jhauga wants to merge 2 commits intocurl:masterfrom
jhauga:curl-help-opt-x3

Conversation

@jhauga
Copy link
Contributor

@jhauga jhauga commented Jan 30, 2026

Summary

This PR adds 2 options to the important help category. Documentation is consistently voted 1 in the "Worst Areas" portion of the annual survey. And this pasts year one user made a suggestion to improve --help in regards to frequently used options, which this PR addresses.

1. curl 2025 Survey

In the section "Worst areas" the top pick was documentation at 28.3%, near 10% above the second in line. This PR will hopefully bring the down a few points.

See curl 2025 survey[1]

2. curl 2025 Survey

In the section "Which curl command line option do you think needs improvement and how?" one user wrote:

--help: it’d be a bit more convenient if it had a few more of the most frequently used flags rather than needing to remember to do --help all or man curl.

See curl 2025 survey [2]

This PR addresses the suggestion, adding 2 frequently used options.

Determining Options

Using the curl.se tutorial, curl-cheat-sheet repo, and 3 selected external tutorials; the options were selected if all pages included the option, and option deemed fitting. The selected external tutorials were:

Options Added

 -I, --head                              Show document info only
 -H, --header <header/@file>             Pass custom header(s) to server

@dfandrich
Copy link
Contributor

dfandrich commented Jan 30, 2026 via email

@jhauga jhauga changed the title curl: add 3 options to -h important curl: add 2 options to -h important Jan 30, 2026
@bagder bagder closed this in 161be30 Feb 5, 2026
@bagder
Copy link
Member

bagder commented Feb 5, 2026

Thanks!

@jhauga jhauga deleted the curl-help-opt-x3 branch February 5, 2026 17:04
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.

3 participants