From e3360c69312b2bce0673a3d7d62001172f34d5b6 Mon Sep 17 00:00:00 2001 From: Yamato Security <71482215+YamatoSecurity@users.noreply.github.com> Date: Thu, 25 Aug 2022 06:00:19 +0900 Subject: [PATCH] update output --- src/afterfact.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/afterfact.rs b/src/afterfact.rs index 6bc53c32..803153bd 100644 --- a/src/afterfact.rs +++ b/src/afterfact.rs @@ -386,6 +386,7 @@ fn emit_csv( _print_detection_summary_by_date(detect_counts_by_date_and_level, &color_map); println!(); + println!(); _print_detection_summary_by_computer(detect_counts_by_computer_and_level, &color_map); println!(); @@ -516,7 +517,7 @@ fn _print_detection_summary_by_date( let mut wtr = buf_wtr.buffer(); wtr.set_color(ColorSpec::new().set_fg(None)).ok(); - write!(wtr, "Most total detections: ").ok(); + write!(wtr, "Dates with most total detections:\n").ok(); for (idx, level) in LEVEL_ABBR.values().enumerate() { // output_levelsはlevelsからundefinedを除外した配列であり、各要素は必ず初期化されているのでSomeであることが保証されているのでunwrapをそのまま実施