]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Improve -x/--show-compression output
authorJoel Rosdahl <joel@rosdahl.net>
Thu, 9 Jul 2020 19:37:40 +0000 (21:37 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 9 Jul 2020 19:46:50 +0000 (21:46 +0200)
doc/MANUAL.adoc
src/compress.cpp

index d8da30915aa4e9dcca21c9eb55c91e42ecd93cf2..7cd035c713a16940d558e734bd5604cb9e4d0727 100644 (file)
@@ -791,7 +791,7 @@ compression. Example:
 
 -------------------------------------------------------------------------------
 Total data:              14.8 GB (16.0 GB disk blocks)
-Compressible data:       11.3 GB (30.6% of original size)
+Compressed data:         11.3 GB (30.6% of original size)
   - Original size:       36.9 GB
   - Compression ratio:  3.267 x  (69.4% space savings)
 Incompressible data:      3.5 GB
@@ -802,7 +802,7 @@ Notes:
 * The “disk blocks” size is the cache size when taking disk block size into
   account. This value should match the “cache size” value from “ccache
   --show-stats”. The other size numbers refer to actual content sizes.
-* “Compressible data” refers to result and manifest files stored in the cache.
+* “Compressed data” refers to result and manifest files stored in the cache.
 * “Incompressible data” refers to files that are always stored uncompressed
   (triggered by enabling the <<config_file_clone,*file_clone*>> or
   <<config_hard_link,*hard_link*>> settings) or unknown files (for instance
index 065c58791f50597aab4183a1b0a5f6e167c792fe..f0100c8ef8c25d0d8892564e2a57e2c4aef186c2 100644 (file)
@@ -193,7 +193,7 @@ compress_stats(const Config& config,
   printf("Total data:            %8s (%s disk blocks)\n",
          cache_size_str,
          on_disk_size_str);
-  printf("Compressible data:     %8s (%.1f%% of original size)\n",
+  printf("Compressed data:       %8s (%.1f%% of original size)\n",
          compr_size_str,
          100.0 - savings);
   printf("  - Original size:     %8s\n", compr_orig_size_str);