mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 02:50:39 +00:00
parent
ab40344567
commit
b8a0901fbd
27 changed files with 38 additions and 15 deletions
|
@ -16,13 +16,13 @@ public class UpdateContactCommand implements LocalCommand {
|
|||
|
||||
@Override
|
||||
public void attachToSubparser(final Subparser subparser) {
|
||||
subparser.help("Update the details of a given contact");
|
||||
subparser.addArgument("number").help("Contact number");
|
||||
subparser.addArgument("-n", "--name").required(true).help("New contact name");
|
||||
subparser.addArgument("-e", "--expiration")
|
||||
.required(false)
|
||||
.type(int.class)
|
||||
.help("Set expiration time of messages (seconds)");
|
||||
subparser.help("Update the details of a given contact");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue