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

Stop parsing options/flags at literal -- #354

Open
llchan opened this issue May 8, 2024 · 0 comments
Open

Stop parsing options/flags at literal -- #354

llchan opened this issue May 8, 2024 · 0 comments

Comments

@llchan
Copy link

llchan commented May 8, 2024

Many argument parser implementations (including python argparse) treat a literal -- as a marker that breaks out of full argument parsing and collects the remaining args as positional/remaining arguments. Correct me if I'm wrong, but this library does not support that out of the box. I was able to sort of emulate it with an explicit -- remaining-argument in a mutually exclusive group with a positional-remaining argument, but that adds a bunch of extra complexity to the implementation as well as extra noise in the help/usage message.

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

1 participant