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

@ -25,8 +25,8 @@ public class GetUserStatusCommand implements LocalCommand {
@Override
public void attachToSubparser(final Subparser subparser) {
subparser.addArgument("number").help("Phone number").nargs("+");
subparser.help("Check if the specified phone number/s have been registered");
subparser.addArgument("number").help("Phone number").nargs("+");
subparser.addArgument("--json")
.help("WARNING: This parameter is now deprecated! Please use the global \"--output=json\" option instead.\n\nOutput received messages in json format, one json object per line.")
.action(Arguments.storeTrue());