diff options
author | isaacs <i@izs.me> | 2010-08-24 23:31:12 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-08-25 16:21:50 +0400 |
commit | 7c6e641d4109d4bb547c891314496adae4a06d31 (patch) | |
tree | 6ede9ab86f5b8c91eef93924fd8c9edffeae55d8 | |
parent | 71c7e11fdb47049fe9c409e649e8c00bb004c1eb (diff) |
primarily outputting commands should write to stdout, not stderr
-rw-r--r-- | lib/view.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/view.js b/lib/view.js index e4219445a..3498d51fd 100644 --- a/lib/view.js +++ b/lib/view.js @@ -26,7 +26,9 @@ function view (args, cb) { } function printData (data, cb) { Object.keys(data).forEach(function (d) { - log(data[d], "view "+d.replace(/\//, '@')) + log(d.replace(/\//, '@'), "view ") + process.stdout.write(sys.inspect(data[d])) + process.stdout.flush() }) cb() }
\ No newline at end of file |