Clarify -B docstring

This commit is contained in:
Elliot Gorokhovsky 2022-07-13 16:54:29 -04:00
parent 02ef78be58
commit 6d75b36b7f
5 changed files with 5 additions and 5 deletions

View File

@ -209,7 +209,7 @@ Benchmark arguments :
-b# : benchmark file(s), using # compression level (default: 3) -b# : benchmark file(s), using # compression level (default: 3)
-e# : test all compression levels successively from -b# to -e# (default: 1) -e# : test all compression levels successively from -b# to -e# (default: 1)
-i# : minimum evaluation time in seconds (default: 3s) -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) -S : output one benchmark result per input file (default: consolidated result)
--priority=rt : set process priority to real-time --priority=rt : set process priority to real-time
``` ```

View File

@ -356,7 +356,7 @@ minimum evaluation time, in seconds (default: 3s), benchmark mode only
. .
.TP .TP
\fB\-B#\fR, \fB\-\-block\-size=#\fR \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 .TP
\fB\-\-priority=rt\fR \fB\-\-priority=rt\fR

View File

@ -470,7 +470,7 @@ BENCHMARK
* `-i#`: * `-i#`:
minimum evaluation time, in seconds (default: 3s), benchmark mode only minimum evaluation time, in seconds (default: 3s), benchmark mode only
* `-B#`, `--block-size=#`: * `-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`: * `--priority=rt`:
set process priority to real-time set process priority to real-time

View 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(" -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(" -e# test all compression levels successively from -b# to -e# (default: 1)\n");
DISPLAYOUT(" -i# minimum evaluation time in seconds (default: 3s)\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(" -S output one benchmark result per input file (default: consolidated result)\n");
DISPLAYOUT(" --priority=rt set process priority to real-time\n"); DISPLAYOUT(" --priority=rt set process priority to real-time\n");
#endif #endif

View 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( " -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( " -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( " -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; return 0;
} }