]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
feat: Let -s/--show-stats show cleanups counter with verbosity 2
authorJoel Rosdahl <joel@rosdahl.net>
Mon, 4 Jul 2022 18:55:55 +0000 (20:55 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 4 Jul 2022 18:55:55 +0000 (20:55 +0200)
src/core/Statistics.cpp

index 06c5438e9f6ad47912d82c64feee1fafaf9d604a..53dc826796de8e3644d1aec95fb301aacf489b39 100644 (file)
@@ -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});
     }
   }