Updated CLI usage error (#6661)

This commit is contained in:
David Golding 2020-08-27 12:15:21 +01:00 committed by GitHub
parent 0cfe6b3084
commit 9a018e7bee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,8 +92,9 @@ open class SharedNodeCmdLineOptions {
return """
Unable to load the node config file from '$configFile'.
${cause?.message?.let { "Cause: $it" } ?: ""}
Try setting the --base-directory flag to change which directory the node
Ensure that the [COMMAND] precedes all options. Alternatively, try
setting the --base-directory flag to change which directory the node
is looking in, or use the --config-file flag to specify it explicitly.
""".trimIndent()
}