Upgrading PicoCLI version and adapting a bit.
This commit is contained in:
parent
516521d39a
commit
eb6f080823
|
@ -12,7 +12,7 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'info.picocli:picocli:3.0.2'
|
||||
implementation 'info.picocli:picocli:4.7.5'
|
||||
implementation project(':applesingle-api')
|
||||
}
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ public class Main implements Runnable {
|
|||
|
||||
public static void main(String[] args) {
|
||||
try {
|
||||
CommandLine.run(new Main(), args);
|
||||
new CommandLine(new Main()).execute(args);
|
||||
} catch (Throwable t) {
|
||||
if (Main.debugFlag) {
|
||||
t.printStackTrace(System.err);
|
||||
|
|
Loading…
Reference in New Issue