mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-01-09 11:48:00 +01:00
Improve verify command descriptions
This commit is contained in:
parent
ee474232c8
commit
11b1acf7f6
1 changed files with 18 additions and 11 deletions
|
@ -56,23 +56,30 @@ public class Verify implements Runnable {
|
||||||
df.setTimeZone(tz);
|
df.setTimeZone(tz);
|
||||||
}
|
}
|
||||||
|
|
||||||
@CommandLine.Parameters(index = "0", description = "Detached signature")
|
@CommandLine.Parameters(index = "0",
|
||||||
|
description = "Detached signature",
|
||||||
|
paramLabel = "SIGNATURE")
|
||||||
File signature;
|
File signature;
|
||||||
|
|
||||||
@CommandLine.Parameters(index = "1..*", arity = "1..*", description = "Public key certificates")
|
@CommandLine.Parameters(index = "1..*",
|
||||||
|
arity = "1..*",
|
||||||
|
description = "Public key certificates",
|
||||||
|
paramLabel = "CERT")
|
||||||
File[] certificates;
|
File[] certificates;
|
||||||
|
|
||||||
@CommandLine.Option(names = {"--not-before"}, description = "ISO-8601 formatted UTC date (eg. '2020-11-23T16:35Z)\n" +
|
@CommandLine.Option(names = {"--not-before"},
|
||||||
"Reject signatures with a creation date not in range.\n" +
|
description = "ISO-8601 formatted UTC date (eg. '2020-11-23T16:35Z)\n" +
|
||||||
"Defaults to beginning of time (\"-\").",
|
"Reject signatures with a creation date not in range.\n" +
|
||||||
arity = "0..1")
|
"Defaults to beginning of time (\"-\").",
|
||||||
|
paramLabel = "DATE")
|
||||||
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"},
|
||||||
"Reject signatures with a creation date not in range.\n" +
|
description = "ISO-8601 formatted UTC date (eg. '2020-11-23T16:35Z)\n" +
|
||||||
"Defaults to current system time (\"now\").\n" +
|
"Reject signatures with a creation date not in range.\n" +
|
||||||
"Accepts special value \"-\" for end of time.",
|
"Defaults to current system time (\"now\").\n" +
|
||||||
arity = "0..1")
|
"Accepts special value \"-\" for end of time.",
|
||||||
|
paramLabel = "DATE")
|
||||||
String notAfter = "now";
|
String notAfter = "now";
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue