From: Joel Rosdahl Date: Mon, 4 Jul 2022 18:55:55 +0000 (+0200) Subject: feat: Let -s/--show-stats show cleanups counter with verbosity 2 X-Git-Tag: v4.7~170 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=73fd7b4336340df664bc10c55f4a5152ca13cf39;p=thirdparty%2Fccache.git feat: Let -s/--show-stats show cleanups counter with verbosity 2 --- diff --git a/src/core/Statistics.cpp b/src/core/Statistics.cpp index 06c5438e9..53dc82679 100644 --- a/src/core/Statistics.cpp +++ b/src/core/Statistics.cpp @@ -319,7 +319,7 @@ Statistics::format_human_readable(const Config& config, } table.add_row(cells); } - if (cleanups > 0) { + if (cleanups > 0 || verbosity > 1) { table.add_row({" Cleanups:", cleanups}); } }