Skip to content

Commit

Permalink
PositionalParamSpec changed to max
Browse files Browse the repository at this point in the history
PositionalParamSpec changed to max
remkop#1384
  • Loading branch information
kurtkaiser committed Dec 1, 2021
1 parent 4fa950c commit db952fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/picocli/CommandLine.java
Original file line number Diff line number Diff line change
Expand Up @@ -10230,7 +10230,7 @@ int localPositionalParamCount() {
int result = 0;
for (ArgSpec arg : args) {
if (arg.isPositional()) {
result += ((PositionalParamSpec) arg).capacity().min();
result += ((PositionalParamSpec) arg).capacity().max();
}
}
return result;
Expand Down

0 comments on commit db952fd

Please sign in to comment.