Using number_of_values
and default_value
together
#1050
Labels
Milestone
number_of_values
and default_value
together
#1050
Found this issue with
clap 2.26.2
It seems that currently the default value is implemented by appending it to the existing matches. But it causes issues if a combination of
number_of_values
anddefault_value
is used.For instance,
Changing
number_of_values(1)
tonumber_of_values(2)
would make it work if the argument is correctly given but the error message is still off when it's not provided:The text was updated successfully, but these errors were encountered: