We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given a command like this:
class App { @Option(names = "-a", arity = "2") String[] a; }
The following input should be rejected (not enough parameters were supplied):
<command> -a 1 -a 2
Instead, picocli accepts this and assigns "1" and "-a" as the two values. (2 is unmatched)
"1"
"-a"
2
The text was updated successfully, but these errors were encountered:
772a0e3
[#365] Stricter arity validation: update release notes.
fbbbb7b
No branches or pull requests
Given a command like this:
The following input should be rejected (not enough parameters were supplied):
Instead, picocli accepts this and assigns
"1"
and"-a"
as the two values. (2
is unmatched)The text was updated successfully, but these errors were encountered: