Skip to content

curl: add warning for incompatible parameters usage#7674

Closed
c-zx wants to merge 3 commits intocurl:masterfrom
c-zx:master
Closed

curl: add warning for incompatible parameters usage#7674
c-zx wants to merge 3 commits intocurl:masterfrom
c-zx:master

Conversation

@c-zx
Copy link
Copy Markdown
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
c-zx added 2 commits September 6, 2021 21:08
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
Copy Markdown
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.

2 participants