From 5df5a3e2cc12b3d3eabb657c5a68984702398b2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=CC=88rg=20Prante?= Date: Fri, 15 Oct 2021 10:31:27 +0200 Subject: [PATCH] fix settings from args --- .../src/main/java/org/xbib/content/config/ConfigLoader.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content-config/src/main/java/org/xbib/content/config/ConfigLoader.java b/content-config/src/main/java/org/xbib/content/config/ConfigLoader.java index 6a411bf..2fd3fac 100644 --- a/content-config/src/main/java/org/xbib/content/config/ConfigLoader.java +++ b/content-config/src/main/java/org/xbib/content/config/ConfigLoader.java @@ -160,8 +160,8 @@ public class ConfigLoader { for (int i = 0; i < params.args.size() - 1; i++) { String arg = params.args.get(i); String s = params.directoryName != null ? - "--" + params.directoryName + "-" + fileNameWithoutSuffix + suffix : - "--" + fileNameWithoutSuffix + suffix; + "--" + params.directoryName + "-" + fileNameWithoutSuffix + "." + suffix : + "--" + fileNameWithoutSuffix + "." + suffix; if (arg.equals(s)) { return createSettingsFromReader(new StringReader(params.args.get(i + 1)), suffix); }