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

setting: IgnoreErrors - Allow parsing despite missing option values #2480

Merged
merged 3 commits into from
Jun 16, 2021

Conversation

kolloch
Copy link
Contributor

@kolloch kolloch commented May 13, 2021

Implemented as AppSetting::Ignore errors as suggested by
@CreepySkeleton in
#1880 (comment).

This is not a complete implementation but it works already in
surprisingly many situations.

#1880

@kolloch kolloch force-pushed the feature/partial-parsing branch from 03b108a to 521183c Compare May 16, 2021 12:18
Copy link
Member

@pksunkara pksunkara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A really good start. Sorry for the late review. Was a little busy IRL.

src/build/app/mod.rs Outdated Show resolved Hide resolved
src/parse/parser.rs Show resolved Hide resolved
src/build/app/mod.rs Show resolved Hide resolved
Copy link
Member

@pksunkara pksunkara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any update on this?

@kolloch
Copy link
Contributor Author

kolloch commented Jun 10, 2021

Hi @pksunkara, thank you so much for getting back to me! I'll have time again to work on this during the weekend (a little bit on Saturday, more on Sunday, CEST time zone).Thank you for your patience :)

kolloch added a commit to kolloch/clap that referenced this pull request Jun 12, 2021
@kolloch kolloch force-pushed the feature/partial-parsing branch from 521183c to dc35409 Compare June 12, 2021 09:26
@kolloch
Copy link
Contributor Author

kolloch commented Jun 12, 2021

Hi @pksunkara, unfortunately, I haven't addressed the "safe-guard" comment yet because I am unclear about the meaning. I might have time later today but more probable tomorrow.

I also rebased the PR, I hope that's appropriate. I put the new changes in an extra commit so you more easily review just the changes.

@pksunkara
Copy link
Member

Looks good. Can you please resolve conflicts?

@kolloch kolloch force-pushed the feature/partial-parsing branch from dc35409 to 171dcbe Compare June 14, 2021 08:26
@kolloch
Copy link
Contributor Author

kolloch commented Jun 14, 2021

Looks good. Can you please resolve conflicts?

Sure :) Out of confusion I rebased on the master of my fork before. sigh

@pksunkara pksunkara merged commit 947523f into clap-rs:master Jun 16, 2021
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