structopt 0.3.1

Parse command line argument by defining a struct.
Documentation
1
2
3
4
5
error: parse attribute is not allowed for subcommand
  --> $DIR/subcommand_and_parse.rs:17:29
   |
17 |     #[structopt(subcommand, parse(from_occurrences))]
   |                             ^^^^^