Don't indent JSON output
This commit is contained in:
parent
bac8055652
commit
c8155e9f5f
4 changed files with 4 additions and 4 deletions
|
|
@ -76,7 +76,7 @@ struct MixLs : virtual Args, MixJSON
|
|||
if (path == "/") path = "";
|
||||
|
||||
if (json) {
|
||||
JSONPlaceholder jsonRoot(std::cout, true);
|
||||
JSONPlaceholder jsonRoot(std::cout);
|
||||
listNar(jsonRoot, accessor, path);
|
||||
} else
|
||||
listText(accessor);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue