]> git.nbdom.net Git - nb.git/commitdiff
fix bug jq
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Wed, 2 Mar 2016 16:40:02 +0000 (16:40 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Wed, 2 Mar 2016 16:40:02 +0000 (16:40 +0000)
bin/dbq

diff --git a/bin/dbq b/bin/dbq
index f7ef7be061b836b5068b337b813d40de10ff0033..952fea7f704cb390eddfd6fd459c9a3c3c72336a 100755 (executable)
--- a/bin/dbq
+++ b/bin/dbq
@@ -139,7 +139,7 @@ if ($keys{format} eq 'nc') {
 
 } elsif ( $keys{format} eq 'jq' ) {
   $keys{format} = 'json';
-  open(STDOUT,"|$0 --parse_debug|jq .")
+  open(STDOUT,"|$0 --parse_debug|jq -C .")
 
 } elsif ( $keys{debug} or $Opt{debug}) {
   open(STDOUT,"|$0 --parse_debug")