mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-08-03 13:42:06 -07: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:
committed by
Andrew Gallant
parent
ca88b2fd95
commit
aebab44e3e
@@ -468,7 +468,7 @@ fn print_stats<W: Write>(
|
|||||||
{bytes_printed} bytes printed
|
{bytes_printed} bytes printed
|
||||||
{bytes_searched} bytes searched
|
{bytes_searched} bytes searched
|
||||||
{search_time:0.6} seconds spent searching
|
{search_time:0.6} seconds spent searching
|
||||||
{process_time:0.6} seconds
|
{process_time:0.6} seconds total
|
||||||
",
|
",
|
||||||
matches = stats.matches(),
|
matches = stats.matches(),
|
||||||
lines = stats.matched_lines(),
|
lines = stats.matched_lines(),
|
||||||
|
Reference in New Issue
Block a user