winnow-args 0.3.0

Command line argument parsing built from winnow parsers
Documentation
error: unknown `arg` option; expected one of `short`, `long`, `alias`, `global`, `count`, `positional`, `value_name`, `double_dash`, `subcommand`, `flatten`, `sequence`, `unknown`, `skip`, `delimiter`, `choices`, `env`, `default`, `default_missing`, `allow_negative_numbers`, `allow_hyphen_values`, `require_equals`, `keep_equals`, `negate`, `two_dashes`, `prefix`, `values`, `value_terminator`, `default_fn`, `default_note`, `default_if`, `from_str`, `stop_flags`, `plus`, `keywords`, `conflicts`, `overrides`, `requires`, `required`, `required_unless`, `group`, `help`, `long_help`, `help_heading`, `warning`, `effect`, `hide`, `hint`, `complete`
 --> tests/ui/fields.rs:6:17
  |
6 |     #[arg(long, hdie)]
  |                 ^^^^

error: `delimiter` needs a `Vec<T>` field to put the pieces in
  --> tests/ui/fields.rs:12:5
   |
12 |     #[arg(long, delimiter = ',')]
   |     ^

error: `default` needs a field that takes a value, or `negate`
  --> tests/ui/fields.rs:18:5
   |
18 |     #[arg(long, default = "true")]
   |     ^

error: `default_missing` is for flags that take a value
  --> tests/ui/fields.rs:24:5
   |
24 |     #[arg(long, default_missing = "x")]
   |     ^

error: `stop_flags` is for positional fields
  --> tests/ui/fields.rs:30:5
   |
30 |     #[arg(long, stop_flags)]
   |     ^

error: `negate` is for `bool` flags
  --> tests/ui/fields.rs:36:5
   |
36 |     #[arg(long, negate)]
   |     ^

error: `plus` needs `#[arg(plus_options)]` on the struct
  --> tests/ui/fields.rs:43:5
   |
43 |     trace: Option<bool>,
   |     ^^^^^

error: `hint` and `complete` are for a field that takes a value
  --> tests/ui/fields.rs:48:5
   |
48 |     #[arg(long, hint = "dir")]
   |     ^

error: a hint is "file", "dir", "command" or "none"
  --> tests/ui/fields.rs:54:24
   |
54 |     #[arg(long, hint = "folder")]
   |                        ^^^^^^^^

error: `Args` needs a struct with named fields
  --> tests/ui/fields.rs:59:13
   |
59 | struct Tuple(bool);
   |             ^^^^^^

error: `complete` answers alone: `hint` beside it would never be asked
  --> tests/ui/fields.rs:67:5
   |
67 |     #[arg(long, hint = "dir", complete = names)]
   |     ^

error: `hint` and `complete` are for a field that takes a value
  --> tests/ui/fields.rs:73:5
   |
73 |     #[arg(short, count, complete = names)]
   |     ^