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

Add StructOpt::from_iter_safe method #98

Merged
merged 1 commit into from
Apr 20, 2018

Conversation

quodlibetor
Copy link
Contributor

I would like to be able to test argument parsing, which requires an error
value, not a process::exit().

Copy link
Owner

@TeXitoi TeXitoi left a comment

Choose a reason for hiding this comment

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

Thanks! Please also update the changelog accordingly.

@@ -8,6 +8,7 @@

#[macro_use]
extern crate structopt;
extern crate clap;
Copy link
Owner

Choose a reason for hiding this comment

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

Better to use use structopt::clap;

I would like to be able to test argument parsing, which requires an error
value, not a `process::exit()`.
@quodlibetor
Copy link
Contributor Author

Done, thanks!

@TeXitoi TeXitoi merged commit ccb04a3 into TeXitoi:master Apr 20, 2018
@TeXitoi
Copy link
Owner

TeXitoi commented Apr 20, 2018

Thanks

@TeXitoi
Copy link
Owner

TeXitoi commented Apr 28, 2018

v0.2.8 published

@quodlibetor quodlibetor deleted the add-from-iter-safe branch May 4, 2018 12:38
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.

None yet

2 participants