Skip to content
Myr

core: add "total" to --stats output

Before adoption: this commit came in with the history the project adopted, so no landing records it.

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

authored by robert-bryson · committed by Andrew Gallant · parent 4836284 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:crates/core/main.rs+1 added-1 removed
466 unmodified lines
467{searches} files searched468{bytes_printed} bytes printed469{bytes_searched} bytes searched470{search_time:0.6} seconds spent searching471{process_time:0.6} seconds471{process_time:0.6} seconds total472",473 matches = stats.matches(),474 lines = stats.matched_lines(),475 searches_with_match = stats.searches_with_match(),
8 unmodified lines