Commit e5db99ad authored by cbgbt's avatar cbgbt
Browse files

cli: Only print elapsed time on OUTPUT_STANDARD

parent 6eb0c52d
......@@ -1344,7 +1344,9 @@ static void repl(void) {
}
elapsed = mstime()-start_time;
if (elapsed >= 500) {
if (elapsed >= 500 &&
config.output == OUTPUT_STANDARD)
{
printf("(%.2fs)\n",(double)elapsed/1000);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment