From 5c11b252121ae95ec6d7a94bdf847159977e823d Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Tue, 22 Dec 2020 22:09:22 +0100 Subject: [PATCH] Verify: set arity of boundary options to 0..1 --- .../src/main/java/org/pgpainless/sop/commands/Verify.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pgpainless-sop/src/main/java/org/pgpainless/sop/commands/Verify.java b/pgpainless-sop/src/main/java/org/pgpainless/sop/commands/Verify.java index 20603119..22c43586 100644 --- a/pgpainless-sop/src/main/java/org/pgpainless/sop/commands/Verify.java +++ b/pgpainless-sop/src/main/java/org/pgpainless/sop/commands/Verify.java @@ -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" + "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 = "-"; @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" + "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"; @Override