Mark --target-timestamp flag as required for sendReceipt command
Fixes #901
This commit is contained in:
parent
6f8784a1c9
commit
bf2a83755e
@ -28,6 +28,7 @@ public class SendReceiptCommand implements JsonRpcLocalCommand {
|
|||||||
subparser.addArgument("-t", "--target-timestamp")
|
subparser.addArgument("-t", "--target-timestamp")
|
||||||
.type(long.class)
|
.type(long.class)
|
||||||
.nargs("+")
|
.nargs("+")
|
||||||
|
.required(true)
|
||||||
.help("Specify the timestamp of the messages for which a receipt should be sent.");
|
.help("Specify the timestamp of the messages for which a receipt should be sent.");
|
||||||
subparser.addArgument("--type")
|
subparser.addArgument("--type")
|
||||||
.help("Specify the receipt type (default is read receipt).")
|
.help("Specify the receipt type (default is read receipt).")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user