Update argparse4j

This commit is contained in:
AsamK 2021-05-13 18:06:57 +02:00
parent 06e9f8ba64
commit 8e8eed7b06
10 changed files with 21 additions and 18 deletions

View file

@ -23,7 +23,7 @@ public class UnregisterCommand implements LocalCommand {
@Override
public void handleCommand(final Namespace ns, final Manager m) throws CommandException {
try {
if (ns.getBoolean("delete_account")) {
if (ns.getBoolean("delete-account")) {
m.deleteAccount();
} else {
m.unregister();