Commit graph

4 commits

Author SHA1 Message Date
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
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
96a726aeb7 Handle multiline doc comment as help message
fix #25
2017-11-01 22:13:20 +01:00
Pascal Hertleif
2075ee8328 Favor help argument over doc comments
This changes the behavior of `from_attr_or_env` (used for clap
application settings) to favor the last occurrence of the requested
attribute. This is what repeatedly calling the same methods to set field
properties does implicitly.
2017-06-16 12:31:37 +02:00