Commit graph

5 commits

Author SHA1 Message Date
Christopher Durham
72784f3bd4 Re-license to Apache-2.0/MIT (#71) 2018-02-25 11:22:24 +01:00
Guillaume Pinot
be60de036b structopt reexport structopt_derive
As using structopt without structopt_derive is quite meaningless, reexport
structopt_derive, symplifying the usage.

Inspired by the failure crate.

fix #45
2018-02-03 16:55:43 +01:00
Guillaume Pinot
7975343a03 Support 1-uple enum variant as subcommand
This is a breaking change as it modifies the StructOpt trait.

fix #38
2018-02-03 15:32:55 +01:00
Sergio Benitez
35423c96c4 Add 'parse(from_occurrences)' parser. Don't special case 'u64'. (#48) 2018-02-03 15:15:03 +01:00
kennytm
13fc4fb66a Implement custom string parser from either &str or &OsStr. (#28)
* Implement custom string parser from either &str or &OsStr.

Fix #2.
Fix #3.

* Addressed review comments.
2017-11-09 10:23:02 +01:00