Improve command line help

Fixes #450
This commit is contained in:
AsamK 2021-05-20 20:54:11 +02:00
parent ab40344567
commit b8a0901fbd
27 changed files with 38 additions and 15 deletions

View file

@ -20,9 +20,9 @@ public class UnblockCommand implements LocalCommand {
@Override
public void attachToSubparser(final Subparser subparser) {
subparser.help("Unblock the given contacts or groups (messages will be received again)");
subparser.addArgument("contact").help("Contact number").nargs("*");
subparser.addArgument("-g", "--group").help("Group ID").nargs("*");
subparser.help("Unblock the given contacts or groups (messages will be received again)");
}
@Override