]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | error: `bool` cannot be used as positional parameter with default parser |
2 | ||
3 | = help: if you want to create a flag add `long` or `short` | |
4 | = help: If you really want a boolean parameter add an explicit parser, for example `parse(try_from_str)` | |
5 | = note: see also https://github.com/TeXitoi/structopt/tree/master/examples/true_or_false.rs | |
6 | ||
7 | --> $DIR/positional_bool.rs:5:14 | |
8 | | | |
9 | 5 | verbose: bool, | |
10 | | ^^^^ |