Commit graph

30 commits

Author SHA1 Message Date
Guillaume Pinot
70fbd88ae7 Fix a bug when flattening an enum
Fix #103
2018-04-28 19:03:19 +02:00
Clément Renault
4111f9c6f8 Allow clap features to be activated independently (#100) 2018-04-23 08:50:20 +02:00
Brandon W Maister
ccb04a30cc Add StructOpt::from_iter_safe method (#98)
I would like to be able to test argument parsing, which requires an error
value, not a `process::exit()`.
2018-04-20 15:02:12 +02:00
Guillaume P
560df68ed2 v0.2.7 2018-04-12 11:41:05 +02:00
Georg Brandl
a91411742c Support flattening common options from a struct (#92)
Fix #21
2018-04-12 11:27:57 +02:00
Clément Renault
d59117a9fc Disallow default_value and required for Option (#88) 2018-04-06 22:33:55 +02:00
Guillaume Pinot
0a5edfd5ad v0.2.6 2018-03-31 15:50:56 +02:00
Guillaume P
c9aff7c050 Fix link in CHANGELOG.md 2018-03-31 15:43:13 +02:00
Guillaume Pinot
94ea6452d2 Fail compilation when using default_value or required with bool
Fix #80
2018-03-30 23:35:30 +02:00
Guillaume Pinot
71e2c05ade Fix compilation with #[deny(warnings)] with the ! type
https://github.com/rust-lang/rust/pull/49039#issuecomment-376420816
2018-03-27 09:44:36 +02:00
Guillaume P
c1ec5f9732 Improve the first example in the documentation
Fix #82
2018-03-15 11:14:59 +01:00
Guillaume Pinot
d529fe6435 v0.2.5 2018-03-07 23:50:49 +01:00
Nick Fitzgerald
f9a7651619 Use proc_macro2::Span::call_site for all quotes (#77)
This avoids breakage when deriving `StructOpt` when `proc_macro2`'s nightly
feature is enabled. See https://github.com/alexcrichton/proc-macro2/issues/67
for details.
2018-03-07 23:47:41 +01:00
Guillaume Pinot
f26ce8b769 v0.2.4 2018-02-25 11:24:21 +01:00
Christopher Durham
72784f3bd4 Re-license to Apache-2.0/MIT (#71) 2018-02-25 11:22:24 +01:00
Guillaume Pinot
f5338997d1 Fix #76 2018-02-24 12:11:08 +01:00
Guillaume Pinot
7251a0a943 Fix compilation with #![deny(missig_docs]
fix #74
2018-02-24 10:55:13 +01:00
Guillaume Pinot
c7447cd063 An empty line in a doc comment will result in a double linefeed
fix #69
2018-02-16 23:11:33 +01:00
Guillaume Pinot
12acd6121a Fix #66 2018-02-12 23:46:15 +01:00
Guillaume P
615a8d324e
Update CHANGELOG.md 2018-02-11 23:53:57 +01:00
Guillaume Pinot
a488c92524 Fix #65 2018-02-11 22:28:25 +01:00
Guillaume Pinot
b80dffcc47 fix a bug around enum tuple and the about message in the global help 2018-02-11 22:24:41 +01:00
Guillaume Pinot
1fad3f8bb5 Set the date of v0.2.0 in the CHANGELOG.md 2018-02-10 21:05:42 +01:00
Guillaume Pinot
53d520264f Rename from_any to from_iter 2018-02-10 20:56:16 +01:00
Kerollmops
28bee51ec1 Add informations about StructOpt::from_any method to the changelog 2018-02-10 19:37:06 +01:00
Guillaume Pinot
0d8c4ae23b Update CHANGELOG.md 2018-02-04 15:39:27 +01:00
Guillaume Pinot
33c01e369a Add links in CHANGELOG.md 2018-02-03 17:09:39 +01:00
Guillaume P
9cb1eb7137
Update CHANGELOG.md 2018-02-03 16:53:31 +01:00
Guillaume P
672438a744
Update CHANGELOG.md for #48 2018-02-03 15:31:51 +01:00
Guillaume P
76821ba7b2
Create CHANGELOG.md
fix #52
2018-01-31 23:14:33 +01:00