• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error: `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  |
95 |     verbose: bool,
10  |              ^^^^
11