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

Arguments with default values conflict #1604

Closed
Dylan-DPC-zz opened this issue Dec 9, 2019 · 2 comments
Closed

Arguments with default values conflict #1604

Dylan-DPC-zz opened this issue Dec 9, 2019 · 2 comments

Comments

@Dylan-DPC-zz
Copy link

This playground contains a slightly modified version of the test case introduced in f7a6955. The main difference to the original is that I moved the conflicts_with option to the the same argument, which also uses the default option. This should result in the same behavior but instead results in an error as soon as -f or --flag is passed.

Known Workaround: Split default and conflicts_with between the two arguments.

Originally posted by @0ndorio in #1071 (comment)

@0ndorio
Copy link
Contributor

0ndorio commented Dec 9, 2019

Thanks @Dylan-DPC :) Seems like we created duplicated issues. see #1605

@Dylan-DPC-zz
Copy link
Author

no issues. I'll close this. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants