Commit graph

160 commits

Author SHA1 Message Date
Kevin K
31c6852684
chore: updates the copyright notices 2018-07-02 13:41:56 -04:00
Kevin K
d8ec4ade3c
Merge pull request #11 from kbknapp/meta-files
chore: updates meta files for the repo
2018-07-02 12:26:24 -04:00
Kevin K
4089561e99
chore: updates meta files for the repo 2018-07-02 12:25:50 -04:00
Kevin K
da8402f0dc
chore: completed merge 2018-07-02 11:54:44 -04:00
Kevin K
0be39eebfa
chore: initial merge of both repos 2018-07-02 11:22:27 -04:00
Kevin K
44fad54b2f
chore: moves structopt files into temp dir 2018-07-02 10:59:08 -04:00
Kevin K
61edf0f2cc
Merge remote-tracking branch 'origin-structopt/master' 2018-07-02 10:54:26 -04:00
Kevin K
8916c4772a
chore: moved old clap_derive to temp folder 2018-07-02 10:53:06 -04:00
Kevin K
d152d85519
chore: cleanup initial commit 2018-07-02 10:51:14 -04:00
Kevin K
aa69cc3a04
Merge remote-tracking branch 'origin-clap_derive/master' 2018-07-02 10:50:44 -04:00
Kevin K
c7d3c1112a
Initial commit 2018-07-02 10:49:38 -04:00
Bruce Adams
ea76fa1b1b Add a simple group example (#120) 2018-06-28 08:12:58 +02:00
spease
d983649822 Explicitly mention doc comments in flatten error (#118) 2018-06-18 18:34:33 +02:00
Guillaume P
18192d8e50
Add a minimum rustc version policy (#116)
Fix #115
2018-06-07 15:04:37 +02:00
Guillaume P
de7fc7a08e fmt 2018-06-05 18:16:17 +02:00
Guillaume P
17bfde098d v0.2.9 2018-06-05 17:46:46 +02:00
Frank Benkstein
100d88fb8a fully qualify StructOpt when flattening (#112) 2018-05-24 15:44:00 +02:00
Guillaume Pinot
01d34fb8d2 update syn quote and proc_macro2 + fmt 2018-05-21 16:57:35 +02:00
windwardly
87daa0bc8e fix Cargo authors list insertion code (#111) 2018-05-17 09:54:56 +01:00
Guillaume Pinot
869c2dcb9e fix nightly 2018-04-28 21:07:50 +02:00
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
be8543813e Add an example using clap group. 2018-04-18 18:53:51 +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
Guillaume P
5cb7888988 subcommand aliases example 2018-04-09 11:14:28 +02:00
Clément Renault
d59117a9fc Disallow default_value and required for Option (#88) 2018-04-06 22:33:55 +02:00
hcpl
5b883fcdaa Update syn, quote and proc-macro2 (#87)
* Remove `my_quote` and replace with plain `quote`
2018-04-01 23:24:42 +02:00
Guillaume Pinot
0a5edfd5ad v0.2.6 2018-03-31 15:50:56 +02:00
Guillaume P
91f4f41ee7 Improve the keyvalue example 2018-03-31 15:43:13 +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
Thomas Vincent
ce62bcaa06 Fix the --nb-cars option in the example (#85) 2018-03-19 23:45:47 +01:00
Guillaume P
c1ec5f9732 Improve the first example in the documentation
Fix #82
2018-03-15 11:14:59 +01:00
Guillaume P
73b6b672ca Add an example with at least 2 arguments 2018-03-15 10:37:28 +01:00
Guillaume P
495cc1f5e3 Add no_version example 2018-03-12 12:36:21 +01:00
Guillaume P
b043260eb3 Add an example for KEY=value argument as asked in #79 2018-03-09 16:54:26 +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
78d4aa00a0 Use r#"str"# when appropriate 2018-02-15 16:19:52 +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