diff options
-rw-r--r-- | src/aggregate.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/aggregate.rs b/src/aggregate.rs index 7e09d17..ff0e73b 100644 --- a/src/aggregate.rs +++ b/src/aggregate.rs @@ -118,7 +118,11 @@ fn write_path<C: fmt::Display>( if num_errors == 0 { Cow::Borrowed("") } else { - Cow::Owned(format!("\t<{} IO Error(s)>", num_errors)) + Cow::Owned(format!( + " <{} IO Error{}>", + num_errors, + if num_errors > 1 { "s" } else { "" } + )) }, byte_color = options.color.display(color::Fg(color::Green)), byte_color_reset = options.color.display(color::Fg(color::Reset)), |