From 7edd6bc86d1b2c9f8050dc05a96dc5e9474c89b3 Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Tue, 22 Dec 2020 22:07:13 +0100 Subject: [PATCH] Add descriptions to all tasks --- .../src/main/java/org/pgpainless/sop/commands/ExtractCert.java | 2 +- .../src/main/java/org/pgpainless/sop/commands/GenerateKey.java | 2 +- .../src/main/java/org/pgpainless/sop/commands/Sign.java | 2 +- .../src/main/java/org/pgpainless/sop/commands/Verify.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pgpainless-sop/src/main/java/org/pgpainless/sop/commands/ExtractCert.java b/pgpainless-sop/src/main/java/org/pgpainless/sop/commands/ExtractCert.java index 03c00a3e..47ae21ce 100644 --- a/pgpainless-sop/src/main/java/org/pgpainless/sop/commands/ExtractCert.java +++ b/pgpainless-sop/src/main/java/org/pgpainless/sop/commands/ExtractCert.java @@ -28,7 +28,7 @@ import picocli.CommandLine; import static org.pgpainless.sop.Print.err_ln; import static org.pgpainless.sop.Print.print_ln; -@CommandLine.Command(name = "extract-cert") +@CommandLine.Command(name = "extract-cert", description = "Extract a public key certificate from a secret key") public class ExtractCert implements Runnable { @CommandLine.Option(names = "--no-armor", diff --git a/pgpainless-sop/src/main/java/org/pgpainless/sop/commands/GenerateKey.java b/pgpainless-sop/src/main/java/org/pgpainless/sop/commands/GenerateKey.java index 4ad33cff..66dae486 100644 --- a/pgpainless-sop/src/main/java/org/pgpainless/sop/commands/GenerateKey.java +++ b/pgpainless-sop/src/main/java/org/pgpainless/sop/commands/GenerateKey.java @@ -28,7 +28,7 @@ import picocli.CommandLine; import static org.pgpainless.sop.Print.err_ln; import static org.pgpainless.sop.Print.print_ln; -@CommandLine.Command(name = "generate-key") +@CommandLine.Command(name = "generate-key", description = "Generate a secret key") public class GenerateKey implements Runnable { @CommandLine.Option(names = "--no-armor", diff --git a/pgpainless-sop/src/main/java/org/pgpainless/sop/commands/Sign.java b/pgpainless-sop/src/main/java/org/pgpainless/sop/commands/Sign.java index 928ea9ff..ce4dd218 100644 --- a/pgpainless-sop/src/main/java/org/pgpainless/sop/commands/Sign.java +++ b/pgpainless-sop/src/main/java/org/pgpainless/sop/commands/Sign.java @@ -34,7 +34,7 @@ import picocli.CommandLine; import static org.pgpainless.sop.Print.err_ln; import static org.pgpainless.sop.Print.print_ln; -@CommandLine.Command(name = "sign") +@CommandLine.Command(name = "sign", description = "Create a detached signature") public class Sign implements Runnable { public enum Type { 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 28bad051..20603119 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 @@ -42,7 +42,7 @@ import java.util.TimeZone; import static org.pgpainless.sop.Print.err_ln; import static org.pgpainless.sop.Print.print_ln; -@CommandLine.Command(name = "verify", description = "Verify a detached signature.\nThe signed data is being read from standard input.") +@CommandLine.Command(name = "verify", description = "Verify a detached signature") public class Verify implements Runnable { private static final TimeZone tz = TimeZone.getTimeZone("UTC");