Upgrading PicoCLI version and adapting a bit.

This commit is contained in:
Rob Greene 2023-10-28 11:48:51 -05:00
parent 516521d39a
commit eb6f080823
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ repositories {
}
dependencies {
implementation 'info.picocli:picocli:3.0.2'
implementation 'info.picocli:picocli:4.7.5'
implementation project(':applesingle-api')
}

View File

@ -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);