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)")