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

Fix positional args in groups (#1794) #1856

Merged
merged 2 commits into from
Apr 24, 2020
Merged

Fix positional args in groups (#1794) #1856

merged 2 commits into from
Apr 24, 2020

Conversation

CreepySkeleton
Copy link
Contributor

Closes #1794

The bug was fairly easy to diagnose but extremely hard to fix. I managed a small not-too-hacky hack, but it comes at cost. I believe we can pay it. See the comment in the diff for the explanation.

tests/groups.rs Outdated Show resolved Hide resolved
@CreepySkeleton
Copy link
Contributor Author

@pksunkara can we have something like "re-run all CI checks" button?

@pksunkara
Copy link
Member

I don't know anyway to implement it

@CreepySkeleton
Copy link
Contributor Author

Nah, never mind

@pksunkara
Copy link
Member

bors r+

@bors
Copy link
Contributor

bors bot commented Apr 24, 2020

Build succeeded:

@bors bors bot merged commit 7b5e2cf into master Apr 24, 2020
@bors bors bot deleted the groups_bugfix branch April 24, 2020 11:18
ldm0 added a commit to ldm0/clap that referenced this pull request Dec 26, 2020
ldm0 added a commit to ldm0/clap that referenced this pull request Dec 29, 2020
ldm0 added a commit to ldm0/clap that referenced this pull request Jan 17, 2021
@ldm0 ldm0 mentioned this pull request Jan 17, 2021
ldm0 added a commit to ldm0/clap that referenced this pull request Jan 19, 2021
ldm0 added a commit to ldm0/clap that referenced this pull request Jan 23, 2021
@ldm0 ldm0 mentioned this pull request Jan 23, 2021
ldm0 added a commit to ldm0/clap that referenced this pull request Jan 23, 2021
ldm0 added a commit to ldm0/clap that referenced this pull request Jan 27, 2021
pksunkara added a commit that referenced this pull request Jan 30, 2021
ldm0 added a commit to ldm0/clap that referenced this pull request Feb 5, 2021
Dehack, revert clap-rs#1856

Fix incorrect error message.

Comment out regressed logic

Fix clippy

Minor redundant logic cleanup

Fix clippy

dot fix

Clearer error processing

Acc a request

Flow reordering

Remove redundant ClapResult in some functions

Flow optimize

Integrate workflow

Branch simpification

Simplify possible subcommand

Optimize branch, more comments

Eliminate unreachable branch

comment fix

Add comments for some internal app settings

Resolve a TODO

Unused clippy allow
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.

Bug when grouping positional args with options
3 participants