///|
fn wants_json_output(args : Array[String]) -> Bool {
for index in 0.. println(output)
Err(message) => {
if wants_json_output(args) && message.has_prefix("{") {
println(message)
} else {
println("error: " + message)
}
@sys.exit(1)
}
}
}