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

@ -16,6 +16,7 @@ public class SetPinCommand implements LocalCommand {
@Override
public void attachToSubparser(final Subparser subparser) {
subparser.help("Set a registration lock pin, to prevent others from registering this number.");
subparser.addArgument("registrationLockPin")
.help("The registration lock PIN, that will be required for new registrations (resets after 7 days of inactivity)");
}