mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-10-31 22:16:00 +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)
|
exitCodeOnInvalidInput = 37)
|
||||||
public class InlineVerifyCmd extends AbstractSopCmd {
|
public class InlineVerifyCmd extends AbstractSopCmd {
|
||||||
|
|
||||||
@CommandLine.Parameters(arity = "1..*",
|
@CommandLine.Parameters(arity = "0..*",
|
||||||
paramLabel = "CERT")
|
paramLabel = "CERT")
|
||||||
List<String> certificates = new ArrayList<>();
|
List<String> certificates = new ArrayList<>();
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ public class VerifyCmd extends AbstractSopCmd {
|
||||||
paramLabel = "SIGNATURE")
|
paramLabel = "SIGNATURE")
|
||||||
String signature;
|
String signature;
|
||||||
|
|
||||||
@CommandLine.Parameters(index = "0..*",
|
@CommandLine.Parameters(index = "1..*",
|
||||||
arity = "1..*",
|
arity = "1..*",
|
||||||
paramLabel = "CERT")
|
paramLabel = "CERT")
|
||||||
List<String> certificates = new ArrayList<>();
|
List<String> certificates = new ArrayList<>();
|
||||||
|
|
Loading…
Reference in a new issue