@@ -513,7 +513,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ // calculate argument position
|
||||
+ if (argIdx != null) {
|
||||
+ try {
|
||||
+ final int idx = Integer.parseInt(argIdx);
|
||||
+ final int idx = Integer.parseInt(argIdx) - 1;
|
||||
+ if (idx < args.size()) {
|
||||
+ consumer.accept(args.get(idx));
|
||||
+ }
|
||||
|
||||
Reference in New Issue
Block a user