The overhead of the whitespace is trivial and
makes the output somewhat human readable. Previously
I was always taking `damage ls` into a file and
parsing it out with python.
Signed-off-by: John Spray <john.spray@redhat.com>
return true;
}
- Formatter *f = new JSONFormatter();
+ Formatter *f = new JSONFormatter(true);
dump_sessions(filter, f);
f->flush(*ds);
delete f;
*need_reply = false;
return true;
} else if (prefix == "damage ls") {
- Formatter *f = new JSONFormatter();
+ Formatter *f = new JSONFormatter(true);
damage_table.dump(f);
f->flush(*ds);
delete f;