From c12e1f5ad9b0f8eb8c1bccef26783d3504933074 Mon Sep 17 00:00:00 2001 From: Nicolas MASSART Date: Mon, 19 Nov 2018 10:04:42 +0100 Subject: [PATCH] Fix NC-1707 pantheon CLI default values infinite loop (#266) Picocli latest release 3.8.0 fixes the issue. --- gradle/versions.gradle | 2 +- .../main/java/tech/pegasys/pantheon/cli/PantheonCommand.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle/versions.gradle b/gradle/versions.gradle index 664cdc5d7b..65e10aae2f 100644 --- a/gradle/versions.gradle +++ b/gradle/versions.gradle @@ -45,7 +45,7 @@ dependencyManagement { dependency('com.github.docker-java:docker-java:3.0.14') - dependency('info.picocli:picocli:3.6.1') + dependency('info.picocli:picocli:3.8.0') dependency('net.consensys.cava:cava-toml:0.3.1') dependency('org.openjdk.jmh:jmh-core:1.21') diff --git a/pantheon/src/main/java/tech/pegasys/pantheon/cli/PantheonCommand.java b/pantheon/src/main/java/tech/pegasys/pantheon/cli/PantheonCommand.java index 85656af386..d74b7b455f 100644 --- a/pantheon/src/main/java/tech/pegasys/pantheon/cli/PantheonCommand.java +++ b/pantheon/src/main/java/tech/pegasys/pantheon/cli/PantheonCommand.java @@ -142,7 +142,7 @@ public class PantheonCommand implements Runnable { @Option( names = {"--datadir"}, paramLabel = MANDATORY_PATH_FORMAT_HELP, - description = "the path to Pantheon data directory" + description = "the path to Pantheon data directory (default: ${DEFAULT-VALUE})" ) private final Path dataDir = getDefaultPantheonDataDir();