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

[PROTON] Fix option conflict with subcommands #4775

Merged
merged 1 commit into from
Sep 21, 2024
Merged

Conversation

Jokeren
Copy link
Contributor

@Jokeren Jokeren commented Sep 21, 2024

Previously, if both the subcommand (e.g., pytest) and proton had the same option (e.g., -k), proton would fail due to an option conflict. By using argparse.REMAINDER—though its behavior is not well documented in the Python documentation—we now allow proton to parse the -k option only before the subcommand.

@Jokeren Jokeren changed the title [PROTON] Resolve command line option conflicts [PROTON] Fix option conflict with subcommands Sep 21, 2024
@Jokeren Jokeren assigned Jokeren and unassigned Jokeren Sep 21, 2024
@Jokeren Jokeren merged commit 93c2027 into main Sep 21, 2024
7 checks passed
@Jokeren Jokeren deleted the keren/proton-cmd branch September 21, 2024 03:03
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

Successfully merging this pull request may close these issues.

2 participants