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