From a99292aba8bd6a517eb150fa4325f96f3cf7c48f Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Fri, 30 Oct 2020 19:09:50 +0100 Subject: [PATCH] btrbk: fix alignment if no header is printed --- btrbk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btrbk b/btrbk index e2fccd5..a218343 100755 --- a/btrbk +++ b/btrbk @@ -4819,7 +4819,7 @@ sub print_formatted(@) my %maxlen; my @sane_data; foreach my $key (@keys) { - $maxlen{$key} = length($key); # initialize with size of key + $maxlen{$key} = $args{no_header} ? 0 : length($key); # initialize with size of key } foreach my $row (@$data) { foreach my $key (@keys) {