diff --git a/src/output_format.rs b/src/output_format.rs index 0c96eac..4087005 100644 --- a/src/output_format.rs +++ b/src/output_format.rs @@ -23,7 +23,7 @@ impl OutputFormat { pub fn print_file_path_with_size(file: &FileInfo) { println!( - "{}: {}", + "- {}: {}", file.path .display() .to_string() diff --git a/src/results.rs b/src/results.rs index 6947706..599c2d2 100644 --- a/src/results.rs +++ b/src/results.rs @@ -102,13 +102,11 @@ impl AnalysisResults { ); if !self.duplicate_groups.is_empty() { - println!(); for (index, (_hash, group)) in self.duplicate_groups.iter().enumerate() { println!("Group {}:", index + 1); for file in group { print_file_path_with_size(file) } - println!(); } } else { println!("None found!");