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

Non-homogeneous output for curl command in --verbose mode #1236

Closed
lepapareil opened this issue Feb 2, 2023 · 0 comments · Fixed by #1255
Closed

Non-homogeneous output for curl command in --verbose mode #1236

lepapareil opened this issue Feb 2, 2023 · 0 comments · Fixed by #1255
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@lepapareil
Copy link
Collaborator

Problem to solve

curl command output in --verbose displays options in a non-homogeneous way, sometimes it uses short options like -H or -L and sometimes long options like --insecure.

Proposal

Use only long options, example:

  • --header instead of -H
  • --location instead of -L

So:

curl -H 'Authorization: Bearer 1234' --insecure -L 'https://hurl.dev'

Becomes:

curl --header 'Authorization: Bearer 1234' --insecure --location 'https://hurl.dev'
@lepapareil lepapareil added the enhancement New feature or request label Feb 2, 2023
@lepapareil lepapareil self-assigned this Feb 2, 2023
@lepapareil lepapareil linked a pull request Feb 6, 2023 that will close this issue
@jcamiel jcamiel added this to the 3.0.0 milestone Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants