From 819779a68bc6da0c3d298efe52e3b1ca0d2e66cf Mon Sep 17 00:00:00 2001 From: Thorsten Töpper Date: Tue, 24 Feb 2026 23:52:29 +0100 Subject: By default suppress unrequired output when doing analysis --- src/duplicate_finder.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/duplicate_finder.c') diff --git a/src/duplicate_finder.c b/src/duplicate_finder.c index f410f59..c6843f0 100644 --- a/src/duplicate_finder.c +++ b/src/duplicate_finder.c @@ -44,10 +44,12 @@ int analyze_db_content() { } - /* TODO: Implementation of several SQL queries... not in the mood */ - dbi_print_fileinfo_resolved(stdout); + if (option_show_non_duplicates) { + dbi_print_fileinfo_resolved(stdout); + printf("\n\n"); + } - printf("\n\n---- IDENTICAL HASHES ----\n\n"); + printf("---- IDENTICAL HASHES ----\n\n"); if (dbi_print_identical_hashes(stdout) < 0) { LOGERR("ERROR: Identification of duplicates via hashes failed.\n"); -- cgit v1.3