mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Update argparse4j
This commit is contained in:
parent
e63e6e1fa2
commit
d5fb37a416
2 changed files with 3 additions and 2 deletions
|
@ -21,7 +21,7 @@ repositories {
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'com.github.turasa:signal-service-java:2.6.12_unofficial_1'
|
compile 'com.github.turasa:signal-service-java:2.6.12_unofficial_1'
|
||||||
compile 'org.bouncycastle:bcprov-jdk15on:1.55'
|
compile 'org.bouncycastle:bcprov-jdk15on:1.55'
|
||||||
compile 'net.sourceforge.argparse4j:argparse4j:0.7.0'
|
compile 'net.sourceforge.argparse4j:argparse4j:0.8.1'
|
||||||
compile 'org.freedesktop.dbus:dbus-java:2.7.0'
|
compile 'org.freedesktop.dbus:dbus-java:2.7.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -720,7 +720,8 @@ public class Main {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Namespace parseArgs(String[] args) {
|
private static Namespace parseArgs(String[] args) {
|
||||||
ArgumentParser parser = ArgumentParsers.newArgumentParser("signal-cli")
|
ArgumentParser parser = ArgumentParsers.newFor("signal-cli")
|
||||||
|
.build()
|
||||||
.defaultHelp(true)
|
.defaultHelp(true)
|
||||||
.description("Commandline interface for Signal.")
|
.description("Commandline interface for Signal.")
|
||||||
.version(Manager.PROJECT_NAME + " " + Manager.PROJECT_VERSION);
|
.version(Manager.PROJECT_NAME + " " + Manager.PROJECT_VERSION);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue