]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Clarify -B docstring 3197/head
authorElliot Gorokhovsky <embg@fb.com>
Wed, 13 Jul 2022 20:54:29 +0000 (16:54 -0400)
committerElliot Gorokhovsky <embg@fb.com>
Thu, 14 Jul 2022 04:22:21 +0000 (00:22 -0400)
programs/README.md
programs/zstd.1
programs/zstd.1.md
programs/zstdcli.c
zlibWrapper/examples/zwrapbench.c

index b88cf78d71a46aa6caeed49b823e21b7b53b367b..c192b802693aad423be9f1c315b9403def6fb680 100644 (file)
@@ -209,7 +209,7 @@ Benchmark arguments :
  -b#    : benchmark file(s), using # compression level (default: 3)
  -e#    : test all compression levels successively from -b# to -e# (default: 1)
  -i#    : minimum evaluation time in seconds (default: 3s)
- -B#    : cut file into independent blocks of size # (default: no block)
+ -B#    : cut file into independent chunks of size # (default: no chunking)
  -S     : output one benchmark result per input file (default: consolidated result)
 --priority=rt : set process priority to real-time
 ```
index 84450d8ec34257b29797e7372f055ef71634e662..3ac7f0f3c369ad91b4a1f27fe8c8235af5923df6 100644 (file)
@@ -356,7 +356,7 @@ minimum evaluation time, in seconds (default: 3s), benchmark mode only
 .
 .TP
 \fB\-B#\fR, \fB\-\-block\-size=#\fR
-cut file(s) into independent blocks of size # (default: no block)
+cut file(s) into independent chunks of size # (default: no chunking)
 .
 .TP
 \fB\-\-priority=rt\fR
index c3a87817676539d28bbc93086780a41f70e4b16c..af18586ab20e9b37fb2a8d76f047c70a7125fb34 100644 (file)
@@ -470,7 +470,7 @@ BENCHMARK
 * `-i#`:
     minimum evaluation time, in seconds (default: 3s), benchmark mode only
 * `-B#`, `--block-size=#`:
-    cut file(s) into independent blocks of size # (default: no block)
+    cut file(s) into independent chunks of size # (default: no chunking)
 * `--priority=rt`:
     set process priority to real-time
 
index 5586f395644b79713410bba9e969fe9bbd509ef3..fbacb908a9292d75af057c817283e56c61bd6e4a 100644 (file)
@@ -284,7 +284,7 @@ static void usage_advanced(const char* programName)
     DISPLAYOUT("  -b#                  benchmark file(s), using # compression level (default: %d)\n", ZSTDCLI_CLEVEL_DEFAULT);
     DISPLAYOUT("  -e#                  test all compression levels successively from -b# to -e# (default: 1)\n");
     DISPLAYOUT("  -i#                  minimum evaluation time in seconds (default: 3s)\n");
-    DISPLAYOUT("  -B#                  cut file into independent blocks of size # (default: no block)\n");
+    DISPLAYOUT("  -B#                  cut file into independent chunks of size # (default: no chunking)\n");
     DISPLAYOUT("  -S                   output one benchmark result per input file (default: consolidated result)\n");
     DISPLAYOUT("     --priority=rt     set process priority to real-time\n");
 #endif
index 5993e51ba025831537d6d1fbf9ee34b406e24033..8673ca348da5c41b8893afa55c706ba88d7bec9a 100644 (file)
@@ -836,7 +836,7 @@ static int usage(const char* programName)
     DISPLAY( " -b#    : benchmark file(s), using # compression level (default : %d) \n", ZSTDCLI_CLEVEL_DEFAULT);
     DISPLAY( " -e#    : test all compression levels from -bX to # (default: %d)\n", ZSTDCLI_CLEVEL_DEFAULT);
     DISPLAY( " -i#    : minimum evaluation time in seconds (default : 3s)\n");
-    DISPLAY( " -B#    : cut file into independent blocks of size # (default: no block)\n");
+    DISPLAY( " -B#    : cut file into independent chunks of size # (default: no chunking)\n");
     return 0;
 }