mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-11-22 15:12:06 +01:00
Fix arity of arguments in verify commands
Fixes https://github.com/pgpainless/pgpainless/issues/330
This commit is contained in:
parent
04d38b988a
commit
043e95e5c0
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ import java.util.List;
|
|||
exitCodeOnInvalidInput = 37)
|
||||
public class InlineVerifyCmd extends AbstractSopCmd {
|
||||
|
||||
@CommandLine.Parameters(arity = "1..*",
|
||||
@CommandLine.Parameters(arity = "0..*",
|
||||
paramLabel = "CERT")
|
||||
List<String> certificates = new ArrayList<>();
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ public class VerifyCmd extends AbstractSopCmd {
|
|||
paramLabel = "SIGNATURE")
|
||||
String signature;
|
||||
|
||||
@CommandLine.Parameters(index = "0..*",
|
||||
@CommandLine.Parameters(index = "1..*",
|
||||
arity = "1..*",
|
||||
paramLabel = "CERT")
|
||||
List<String> certificates = new ArrayList<>();
|
||||
|
|
Loading…
Reference in a new issue