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

Switch from pico-args to lexopt #20

Merged
merged 1 commit into from
Jan 3, 2022
Merged

Switch from pico-args to lexopt #20

merged 1 commit into from
Jan 3, 2022

Conversation

taiki-e
Copy link
Owner

@taiki-e taiki-e commented Jan 3, 2022

If there are multiple flags with values, it is impossible to parse the arguments correctly using the current pico-args.
For example, the following command will be parsed as --flag1 value1 and --flag2 value2 when parsed --flag1 first, which is not what we expect.

app --flag2 --flag1 value1 value2

@taiki-e
Copy link
Owner Author

taiki-e commented Jan 3, 2022

bors r+

@bors
Copy link
Contributor

bors bot commented Jan 3, 2022

Build succeeded:

@bors bors bot merged commit f732b96 into main Jan 3, 2022
@bors bors bot deleted the lexopt branch January 3, 2022 08:20
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.

1 participant