diff --git a/lib/do_keys.js b/lib/do_keys.js index 776431a..add02bf 100644 --- a/lib/do_keys.js +++ b/lib/do_keys.js @@ -22,7 +22,7 @@ function do_keys(subcmd, opts, args, callback) { } if (opts.json) { - console.log(JSON.stringify(keys)); + console.log(common.jsonStream(keys)); } else { // pretty print keys.forEach(function (key) {