mirror of https://github.com/digint/btrbk
btrbk: print_formatted: omit title for format: raw,tlog,syslog
parent
74873081c3
commit
ebaaee2139
6
btrbk
6
btrbk
|
@ -4236,7 +4236,6 @@ sub print_formatted(@)
|
||||||
$format = $default_format;
|
$format = $default_format;
|
||||||
}
|
}
|
||||||
|
|
||||||
print $fh "$title\n" if($title);
|
|
||||||
if($format eq "raw")
|
if($format eq "raw")
|
||||||
{
|
{
|
||||||
# output: key0="value0" key1="value1" ...
|
# output: key0="value0" key1="value1" ...
|
||||||
|
@ -4282,6 +4281,11 @@ sub print_formatted(@)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# print title
|
||||||
|
if($title) {
|
||||||
|
print $fh "$title\n";
|
||||||
|
}
|
||||||
|
|
||||||
# print keys (headings)
|
# print keys (headings)
|
||||||
unless($args{no_header}) {
|
unless($args{no_header}) {
|
||||||
my $fill = 0;
|
my $fill = 0;
|
||||||
|
|
Loading…
Reference in New Issue