Skip to content

Commit ec1cb10

Browse files
committed
apt-file: Add more debug output
Signed-off-by: Niels Thykier <[email protected]>
1 parent 4b7aa7d commit ec1cb10

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apt-file

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,7 @@ sub list_indices {
516516
push(@indices, $index);
517517
}
518518

519+
debug(1, 'All information collected; creating table');
519520
my $row_delimit = sprintf("+-%s-+", join('-+-', map { '-' x $len[$_] } (0..$#headers)));
520521

521522
tty_human_status('');
@@ -534,6 +535,8 @@ sub list_indices {
534535
} (0..$#headers)));
535536
}
536537
printf("%s\n", $row_delimit);
538+
debug(1, 'Finished writing table');
539+
537540
}
538541

539542
sub print_help {
@@ -886,6 +889,7 @@ sub lookup_indices {
886889
'index' => $index_name,
887890
});
888891
}
892+
debug(1, "Finished reading output from $cmd_debug");
889893
close($fd);
890894
if (not @cache_entries) {
891895
if (not $any_entries) {

0 commit comments

Comments
 (0)