Update argparse4j

This commit is contained in:
AsamK 2017-12-29 15:01:21 +01:00
parent e63e6e1fa2
commit d5fb37a416
2 changed files with 3 additions and 2 deletions

View file

@ -720,7 +720,8 @@ public class Main {
}
private static Namespace parseArgs(String[] args) {
ArgumentParser parser = ArgumentParsers.newArgumentParser("signal-cli")
ArgumentParser parser = ArgumentParsers.newFor("signal-cli")
.build()
.defaultHelp(true)
.description("Commandline interface for Signal.")
.version(Manager.PROJECT_NAME + " " + Manager.PROJECT_VERSION);