From 6d75b36b7f80c6289d2ec44e63986c0cbdadf03e Mon Sep 17 00:00:00 2001 From: Elliot Gorokhovsky Date: Wed, 13 Jul 2022 16:54:29 -0400 Subject: [PATCH] Clarify -B docstring --- programs/README.md | 2 +- programs/zstd.1 | 2 +- programs/zstd.1.md | 2 +- programs/zstdcli.c | 2 +- zlibWrapper/examples/zwrapbench.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/programs/README.md b/programs/README.md index b88cf78d..c192b802 100644 --- a/programs/README.md +++ b/programs/README.md @@ -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 ``` diff --git a/programs/zstd.1 b/programs/zstd.1 index 84450d8e..3ac7f0f3 100644 --- a/programs/zstd.1 +++ b/programs/zstd.1 @@ -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 diff --git a/programs/zstd.1.md b/programs/zstd.1.md index c3a87817..af18586a 100644 --- a/programs/zstd.1.md +++ b/programs/zstd.1.md @@ -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 diff --git a/programs/zstdcli.c b/programs/zstdcli.c index 5586f395..fbacb908 100644 --- a/programs/zstdcli.c +++ b/programs/zstdcli.c @@ -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 diff --git a/zlibWrapper/examples/zwrapbench.c b/zlibWrapper/examples/zwrapbench.c index 5993e51b..8673ca34 100644 --- a/zlibWrapper/examples/zwrapbench.c +++ b/zlibWrapper/examples/zwrapbench.c @@ -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; }