Fix NC-1707 pantheon CLI default values infinite loop (#266)

Picocli latest release 3.8.0 fixes the issue.
Nicolas MASSART 6 years ago committed by GitHub
parent 454fd5a28a
commit c12e1f5ad9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      gradle/versions.gradle
  2. 2
      pantheon/src/main/java/tech/pegasys/pantheon/cli/PantheonCommand.java

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

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

Loading…
Cancel
Save