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: add warning for incompatible parameters usage #7674

Closed
wants to merge 3 commits into from

Conversation

c-zx
Copy link
Contributor

@c-zx c-zx commented Sep 5, 2021

--continue-at - and --remote-header-name are known incompatible parameters

--continue-at - and --remote-header-name are known incompatible parameters
Move the code to the end of `parse_args`.

There are two advantages:
1. Only need to write the check code once.
2. If the one of the incompatible parameters is later disabled by "no-", it
won't be bad usage.
@bagder bagder closed this in 7a3e981 Sep 6, 2021
@bagder
Copy link
Member

bagder commented Sep 6, 2021

Thanks!

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