]> nmode's Git Repositories - signal-cli/blobdiff - src/main/java/org/asamk/signal/commands/SendReceiptCommand.java
Exposing Signal CLI as HTTP Server (#1078)
[signal-cli] / src / main / java / org / asamk / signal / commands / SendReceiptCommand.java
index 6ba8a40cf451cb2b0b4034ddc0e205e8ee33e1ea..1eec6c9947b8ac49ba4ac920161b11ab74910cb1 100644 (file)
@@ -28,6 +28,7 @@ public class SendReceiptCommand implements JsonRpcLocalCommand {
         subparser.addArgument("-t", "--target-timestamp")
                 .type(long.class)
                 .nargs("+")
         subparser.addArgument("-t", "--target-timestamp")
                 .type(long.class)
                 .nargs("+")
+                .required(true)
                 .help("Specify the timestamp of the messages for which a receipt should be sent.");
         subparser.addArgument("--type")
                 .help("Specify the receipt type (default is read receipt).")
                 .help("Specify the timestamp of the messages for which a receipt should be sent.");
         subparser.addArgument("--type")
                 .help("Specify the receipt type (default is read receipt).")