#[clap(num_args = 2..)]
is valid with 0 arguments
#5581
Labels
C-bug
Category: Updating dependencies
#[clap(num_args = 2..)]
is valid with 0 arguments
#5581
Please complete the following tasks
Rust Version
rustc 1.79.0 (129f3b996 2024-06-10)
Clap Version
4.5.9
Minimal reproducible code
Steps to reproduce the bug with the above code
Actual Behaviour
the program runs when no arguments are given
Expected Behaviour
the code should break when no arguments are given
Additional Context
No response
Debug Output
The text was updated successfully, but these errors were encountered: