From b2bf457bf4b4c5962ea7ba11e746605401bbcaa6 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Mon, 7 Mar 2016 11:56:00 +0100 Subject: [PATCH] header by default --- bin/dbq | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/dbq b/bin/dbq index 34f810f1..ecf23f0b 100755 --- a/bin/dbq +++ b/bin/dbq @@ -142,7 +142,10 @@ while (my ($k,$v) = each %ACTION) { $keys{$k} = $v; } -$keys{header} = '0' if !defined($keys{header}) and $keys{action} ne 'rows'; +# NB 07.03.16 $keys{header} = '0' if !defined($keys{header}) and ( +# NB 07.03.16 $keys{action} ne 'rows' +# NB 07.03.16 or $keys{format} ne 'nc' +# NB 07.03.16 ); $keys{table} = $1 if $keys{db} and $keys{db} =~ s/:(.*)$//; ################################################################################# -- 2.47.3