mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-01-09 11:48:00 +01:00
Verify: set arity of boundary options to 0..1
This commit is contained in:
parent
b733b94b9e
commit
5c11b25212
1 changed files with 4 additions and 2 deletions
|
@ -63,13 +63,15 @@ public class Verify implements Runnable {
|
||||||
|
|
||||||
@CommandLine.Option(names = {"--not-before"}, description = "ISO-8601 formatted UTC date (eg. '2020-11-23T16:35Z)\n" +
|
@CommandLine.Option(names = {"--not-before"}, description = "ISO-8601 formatted UTC date (eg. '2020-11-23T16:35Z)\n" +
|
||||||
"Reject signatures with a creation date not in range.\n" +
|
"Reject signatures with a creation date not in range.\n" +
|
||||||
"Defaults to beginning of time (\"-\").")
|
"Defaults to beginning of time (\"-\").",
|
||||||
|
arity = "0..1")
|
||||||
String notBefore = "-";
|
String notBefore = "-";
|
||||||
|
|
||||||
@CommandLine.Option(names = {"--not-after"}, description = "ISO-8601 formatted UTC date (eg. '2020-11-23T16:35Z)\n" +
|
@CommandLine.Option(names = {"--not-after"}, description = "ISO-8601 formatted UTC date (eg. '2020-11-23T16:35Z)\n" +
|
||||||
"Reject signatures with a creation date not in range.\n" +
|
"Reject signatures with a creation date not in range.\n" +
|
||||||
"Defaults to current system time (\"now\").\n" +
|
"Defaults to current system time (\"now\").\n" +
|
||||||
"Accepts special value \"-\" for end of time.")
|
"Accepts special value \"-\" for end of time.",
|
||||||
|
arity = "0..1")
|
||||||
String notAfter = "now";
|
String notAfter = "now";
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue