0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-25 21:38:18 +02:00

modules/console: Use pretty/pretty_oneline() in node key cmd.

This commit is contained in:
Jason Volk 2019-12-21 14:04:15 -08:00
parent 06373848bc
commit 14774cf3e2

View file

@ -11862,7 +11862,8 @@ console_cmd__node__keys(opt &out, const string_view &line)
json::get<"content"_>(event)
};
out << keys << std::endl;
pretty_oneline(out, keys);
out << std::endl;
return --limit;
}});
@ -11896,7 +11897,8 @@ console_cmd__node__key(opt &out, const string_view &line)
json::get<"content"_>(event)
};
out << key << std::endl;
pretty(out, key);
out << std::endl;
});
return true;