From bc2fd3948fe9379bc907f62a89536e6a77aafb8d Mon Sep 17 00:00:00 2001 From: "alberto.arri@r3.com" Date: Thu, 9 Nov 2017 10:14:22 +0000 Subject: [PATCH] Fix the description of --mode flag in doorman --- .../com/r3/corda/networkmanage/doorman/DoormanParameters.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network-management/src/main/kotlin/com/r3/corda/networkmanage/doorman/DoormanParameters.kt b/network-management/src/main/kotlin/com/r3/corda/networkmanage/doorman/DoormanParameters.kt index 212294e8f0..90fbba5f9f 100644 --- a/network-management/src/main/kotlin/com/r3/corda/networkmanage/doorman/DoormanParameters.kt +++ b/network-management/src/main/kotlin/com/r3/corda/networkmanage/doorman/DoormanParameters.kt @@ -41,7 +41,7 @@ fun parseParameters(vararg args: String): DoormanParameters { val argConfig = args.toConfigWithOptions { accepts("basedir", "Overriding configuration filepath, default to current directory.").withRequiredArg().defaultsTo(".").describedAs("filepath") accepts("configFile", "Overriding configuration file, default to <>/node.conf.").withRequiredArg().describedAs("filepath") - accepts("mode", "Execution mode. Allowed values: ${DoormanParameters.Mode.values()}").withRequiredArg().defaultsTo(DoormanParameters.Mode.DOORMAN.name) + accepts("mode", "Execution mode. Allowed values: ${DoormanParameters.Mode.values().toList()}").withRequiredArg().defaultsTo(DoormanParameters.Mode.DOORMAN.name) accepts("keystorePath", "CA keystore filepath").withRequiredArg().describedAs("filepath") accepts("rootStorePath", "Root CA keystore filepath").withRequiredArg().describedAs("filepath") accepts("keystorePassword", "CA keystore password.").withRequiredArg().describedAs("password")