1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-08-04 21:52:54 +02:00

core: add "total" to --stats output

This makes it a little clearer. Apologies to anyone who is regex
matching on this output.

Closes #2797
This commit is contained in:
robert-bryson
2024-05-02 11:08:57 -07:00
committed by Andrew Gallant
parent ca88b2fd95
commit aebab44e3e

View File

@ -468,7 +468,7 @@ fn print_stats<W: Write>(
{bytes_printed} bytes printed
{bytes_searched} bytes searched
{search_time:0.6} seconds spent searching
{process_time:0.6} seconds
{process_time:0.6} seconds total
",
matches = stats.matches(),
lines = stats.matched_lines(),