Don't indent JSON output
This commit is contained in:
parent
bac8055652
commit
c8155e9f5f
4 changed files with 4 additions and 4 deletions
|
|
@ -26,7 +26,7 @@ struct CmdShowConfig : Command, MixJSON
|
|||
{
|
||||
if (json) {
|
||||
// FIXME: use appropriate JSON types (bool, ints, etc).
|
||||
JSONObject jsonObj(std::cout, true);
|
||||
JSONObject jsonObj(std::cout);
|
||||
settings.toJSON(jsonObj);
|
||||
} else {
|
||||
for (auto & s : settings.getSettings())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue