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

Support for sinks of unparsed arguments #24

Open
Manu343726 opened this issue Jan 28, 2019 · 1 comment
Open

Support for sinks of unparsed arguments #24

Manu343726 opened this issue Jan 28, 2019 · 1 comment
Assignees

Comments

@Manu343726
Copy link

I would like to have a way to tell argagg to forward unknown arguments to a generic sink, so that unrecognized arguments can be processed by other means. Similar to LLVM's Sink which tells the parser that an option eats all unrecognized args.

@Manu343726
Copy link
Author

After studying a bit your code I would say this is could be implemented by a config in the parser (parser.ignore_unknown_args() or something like that) and register all unknown flags in an internal buffer of the arguments map instead of throwing an exception.

@vietjtnguyen vietjtnguyen changed the title Support for syncs of unparsed arguments Support for sinks of unparsed arguments Jan 29, 2019
@vietjtnguyen vietjtnguyen self-assigned this Jan 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants