Micro-fix
This commit is contained in:
parent
f18351f9f0
commit
9279e1b776
|
@ -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)")
|
||||||
|
|
Loading…
Reference in New Issue