From 9279e1b776ed38f03d3faed9e7bff5f53e3995c2 Mon Sep 17 00:00:00 2001 From: jay-tux Date: Mon, 21 Apr 2025 22:22:45 +0200 Subject: [PATCH] Micro-fix --- api/src/main/kotlin/Main.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/kotlin/Main.kt b/api/src/main/kotlin/Main.kt index 4f0a563..0a97ae3 100644 --- a/api/src/main/kotlin/Main.kt +++ b/api/src/main/kotlin/Main.kt @@ -18,7 +18,7 @@ fun main(args: Array) { val force = args.size > 3 && args[3] == "-force" dbSetup(xmlFile, jsonFile, force) } - else if(args.size >= 1 && args[1] == "-h") { + else if(args.size >= 1 && args[0] == "-h") { println("Usage: -reload (to reload the database)") println(" -reload -force (to force reload the database; overwriting data even if the database has newer data)") println(" -h (to show this help message)")