multiple args not working with clap derive on Vec<Foo> type #3283
Labels
A-derive
Area: #[derive]` macro API
C-bug
Category: Updating dependencies
S-duplicate
Status: Closed as Duplicate
Please complete the following tasks
Rust Version
1.57.0
Clap Version
3.0.6
Minimal reproducible code
Steps to reproduce the bug with the above code
cargo run -f foo1 -b bar1 bar2
Actual Behaviour
error: Found argument
'bar2'
which wasn't expected, or isn't valid in this contextExpected Behaviour
it should parse
bar1
andbar2
and place them into aVec<Bar>
Additional Context
No response
Debug Output
No response
The text was updated successfully, but these errors were encountered: