Micro-fix

This commit is contained in:
jay-tux 2025-04-21 22:22:45 +02:00
parent f18351f9f0
commit 9279e1b776
Signed by: jay-tux
GPG Key ID: 84302006B056926E
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ fun main(args: Array<String>) {
val force = args.size > 3 && args[3] == "-force" val force = args.size > 3 && args[3] == "-force"
dbSetup(xmlFile, jsonFile, force) dbSetup(xmlFile, jsonFile, force)
} }
else if(args.size >= 1 && args[1] == "-h") { else if(args.size >= 1 && args[0] == "-h") {
println("Usage: -reload <xmlFile> <jsonFile> (to reload the database)") println("Usage: -reload <xmlFile> <jsonFile> (to reload the database)")
println(" -reload <xmlFile> <jsonFile> -force (to force reload the database; overwriting data even if the database has newer data)") println(" -reload <xmlFile> <jsonFile> -force (to force reload the database; overwriting data even if the database has newer data)")
println(" -h (to show this help message)") println(" -h (to show this help message)")