You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
420 B
11 lines
420 B
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,
|
|
| ^^^^
|