You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In current master a Arg::last(true) is available which makes a positional argument of the form:
[-- <ARG>...]
possible. This argument is required to have the leading dash-dash before it can be parsed. This means that essentially any other positional argument should be possible before the dash-dash, including another Arg::multiple(true) argument, however currently clap panics:
thread 'main' panicked at 'When using a positional argument with .multiple(true) that is *not the last* positional argument, the last positional argument (i.e the one with the highest index) *must* have .required(true) or .last(true) set.', /home/nagisa/.cargo/git/checkouts/clap-rs-507f2c09c9b0886e/814b126/src/app/parser.rs:459
In current master a
Arg::last(true)
is available which makes a positional argument of the form:possible. This argument is required to have the leading dash-dash before it can be parsed. This means that essentially any other positional argument should be possible before the dash-dash, including another
Arg::multiple(true)
argument, however currentlyclap
panics:for code like this:
The text was updated successfully, but these errors were encountered: