X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fde%2Ftodesbaum%2Fjsite%2Fmain%2FCLI.java;h=d0f1a14b409b6facec10edd0904f9745e29d3461;hb=901e6179e5f1ed6cbb624d759a53edd65e32b6c4;hp=668720be5b068e2e55eb03f86eee92f2c0fab8fe;hpb=dae57ff296a55b4e523fb38ec6cd00f7211e4fd5;p=jSite.git diff --git a/src/de/todesbaum/jsite/main/CLI.java b/src/de/todesbaum/jsite/main/CLI.java index 668720b..d0f1a14 100644 --- a/src/de/todesbaum/jsite/main/CLI.java +++ b/src/de/todesbaum/jsite/main/CLI.java @@ -107,6 +107,10 @@ public class CLI implements InsertListener { Project currentProject = null; for (String argument : args) { + if (argument.startsWith("--config-file=")) { + /* we already parsed this one. */ + continue; + } String value = argument.substring(argument.indexOf('=') + 1).trim(); if (argument.startsWith("--node=")) { Node newNode = getNode(value);