diff --git a/node/capsule/src/main/java/CordaCaplet.java b/node/capsule/src/main/java/CordaCaplet.java index 7633ba0a77..be7529a113 100644 --- a/node/capsule/src/main/java/CordaCaplet.java +++ b/node/capsule/src/main/java/CordaCaplet.java @@ -33,7 +33,8 @@ public class CordaCaplet extends Capsule { private Config parseConfigFile(List args) { this.baseDir = getBaseDirectory(args); - String config = getOption(args, "--config-file"); + String config = getOptionMultiple(args, Arrays.asList("--config-file", "-f")); + File configFile = (config == null) ? new File(baseDir, "node.conf") : new File(config); try { ConfigParseOptions parseOptions = ConfigParseOptions.defaults().setAllowMissing(false);