cli: fix align of defaults
This commit is contained in:
parent
2054eaf840
commit
50aea2f293
@ -120,7 +120,7 @@ Usage :
|
|||||||
FILE : a filename
|
FILE : a filename
|
||||||
with no FILE, or when FILE is - , read standard input
|
with no FILE, or when FILE is - , read standard input
|
||||||
Arguments :
|
Arguments :
|
||||||
-# : # compression level (1-19, default:3)
|
-# : # compression level (1-19, default: 3)
|
||||||
-d : decompression
|
-d : decompression
|
||||||
-D file: use `file` as Dictionary
|
-D file: use `file` as Dictionary
|
||||||
-o file: result stored into `file` (only if 1 input file)
|
-o file: result stored into `file` (only if 1 input file)
|
||||||
@ -138,13 +138,13 @@ Advanced arguments :
|
|||||||
--ultra : enable levels beyond 19, up to 22 (requires more memory)
|
--ultra : enable levels beyond 19, up to 22 (requires more memory)
|
||||||
--long : enable long distance matching (requires more memory)
|
--long : enable long distance matching (requires more memory)
|
||||||
--no-dictID : don't write dictID into header (dictionary compression)
|
--no-dictID : don't write dictID into header (dictionary compression)
|
||||||
--[no-]check : integrity check (default:enabled)
|
--[no-]check : integrity check (default: enabled)
|
||||||
-r : operate recursively on directories
|
-r : operate recursively on directories
|
||||||
--format=gzip : compress files to the .gz format
|
--format=gzip : compress files to the .gz format
|
||||||
--format=xz : compress files to the .xz format
|
--format=xz : compress files to the .xz format
|
||||||
--format=lzma : compress files to the .lzma format
|
--format=lzma : compress files to the .lzma format
|
||||||
--test : test compressed file integrity
|
--test : test compressed file integrity
|
||||||
--[no-]sparse : sparse mode (default:disabled)
|
--[no-]sparse : sparse mode (default: disabled)
|
||||||
-M# : Set a memory usage limit for decompression
|
-M# : Set a memory usage limit for decompression
|
||||||
-- : All arguments after "--" are treated as files
|
-- : All arguments after "--" are treated as files
|
||||||
|
|
||||||
@ -153,13 +153,13 @@ Dictionary builder :
|
|||||||
--train-cover[=k=#,d=#,steps=#] : use the cover algorithm with optional args
|
--train-cover[=k=#,d=#,steps=#] : use the cover algorithm with optional args
|
||||||
--train-legacy[=s=#] : use the legacy algorithm with selectivity (default: 9)
|
--train-legacy[=s=#] : use the legacy algorithm with selectivity (default: 9)
|
||||||
-o file : `file` is dictionary name (default: dictionary)
|
-o file : `file` is dictionary name (default: dictionary)
|
||||||
--maxdict=# : limit dictionary to specified size (default : 112640)
|
--maxdict=# : limit dictionary to specified size (default: 112640)
|
||||||
--dictID=# : force dictionary ID to specified value (default: random)
|
--dictID=# : force dictionary ID to specified value (default: random)
|
||||||
|
|
||||||
Benchmark arguments :
|
Benchmark arguments :
|
||||||
-b# : benchmark file(s), using # compression level (default : 1)
|
-b# : benchmark file(s), using # compression level (default: 3)
|
||||||
-e# : test all compression levels from -bX to # (default: 1)
|
-e# : test all compression levels from -bX to # (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 blocks of size # (default: no block)
|
||||||
--priority=rt : set process priority to real-time
|
--priority=rt : set process priority to real-time
|
||||||
```
|
```
|
||||||
|
@ -172,7 +172,7 @@ suppress warnings, interactivity, and notifications\. specify twice to suppress
|
|||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fB\-C\fR, \fB\-\-[no\-]check\fR
|
\fB\-C\fR, \fB\-\-[no\-]check\fR
|
||||||
add integrity check computed from uncompressed data (default : enabled)
|
add integrity check computed from uncompressed data (default: enabled)
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-\fR
|
\fB\-\-\fR
|
||||||
@ -251,7 +251,7 @@ benchmark file(s) using multiple compression levels, from \fB\-b#\fR to \fB\-e#\
|
|||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fB\-i#\fR
|
\fB\-i#\fR
|
||||||
minimum evaluation time, in seconds (default : 3s), benchmark mode only
|
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
|
||||||
|
@ -137,7 +137,7 @@ the last one takes effect.
|
|||||||
to make files with many zeroes smaller on disk.
|
to make files with many zeroes smaller on disk.
|
||||||
Creating sparse files may save disk space and speed up decompression by
|
Creating sparse files may save disk space and speed up decompression by
|
||||||
reducing the amount of disk I/O.
|
reducing the amount of disk I/O.
|
||||||
default : enabled when output is into a file,
|
default: enabled when output is into a file,
|
||||||
and disabled when output is stdout.
|
and disabled when output is stdout.
|
||||||
This setting overrides default and can force sparse mode over stdout.
|
This setting overrides default and can force sparse mode over stdout.
|
||||||
* `--rm`:
|
* `--rm`:
|
||||||
@ -163,7 +163,7 @@ the last one takes effect.
|
|||||||
suppress warnings, interactivity, and notifications.
|
suppress warnings, interactivity, and notifications.
|
||||||
specify twice to suppress errors too.
|
specify twice to suppress errors too.
|
||||||
* `-C`, `--[no-]check`:
|
* `-C`, `--[no-]check`:
|
||||||
add integrity check computed from uncompressed data (default : enabled)
|
add integrity check computed from uncompressed data (default: enabled)
|
||||||
* `--`:
|
* `--`:
|
||||||
All arguments after `--` are treated as files
|
All arguments after `--` are treated as files
|
||||||
|
|
||||||
@ -252,7 +252,7 @@ BENCHMARK
|
|||||||
* `-e#`:
|
* `-e#`:
|
||||||
benchmark file(s) using multiple compression levels, from `-b#` to `-e#` (inclusive)
|
benchmark file(s) using multiple compression levels, from `-b#` to `-e#` (inclusive)
|
||||||
* `-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 blocks of size # (default: no block)
|
||||||
* `--priority=rt`:
|
* `--priority=rt`:
|
||||||
|
@ -106,7 +106,7 @@ static int usage(const char* programName)
|
|||||||
DISPLAY( " with no FILE, or when FILE is - , read standard input\n");
|
DISPLAY( " with no FILE, or when FILE is - , read standard input\n");
|
||||||
DISPLAY( "Arguments : \n");
|
DISPLAY( "Arguments : \n");
|
||||||
#ifndef ZSTD_NOCOMPRESS
|
#ifndef ZSTD_NOCOMPRESS
|
||||||
DISPLAY( " -# : # compression level (1-%d, default:%d) \n", ZSTDCLI_CLEVEL_MAX, ZSTDCLI_CLEVEL_DEFAULT);
|
DISPLAY( " -# : # compression level (1-%d, default: %d) \n", ZSTDCLI_CLEVEL_MAX, ZSTDCLI_CLEVEL_DEFAULT);
|
||||||
#endif
|
#endif
|
||||||
#ifndef ZSTD_NODECOMPRESS
|
#ifndef ZSTD_NODECOMPRESS
|
||||||
DISPLAY( " -d : decompression \n");
|
DISPLAY( " -d : decompression \n");
|
||||||
@ -133,13 +133,13 @@ static int usage_advanced(const char* programName)
|
|||||||
DISPLAY( " -l : print information about zstd compressed files \n");
|
DISPLAY( " -l : print information about zstd compressed files \n");
|
||||||
#ifndef ZSTD_NOCOMPRESS
|
#ifndef ZSTD_NOCOMPRESS
|
||||||
DISPLAY( "--ultra : enable levels beyond %i, up to %i (requires more memory)\n", ZSTDCLI_CLEVEL_MAX, ZSTD_maxCLevel());
|
DISPLAY( "--ultra : enable levels beyond %i, up to %i (requires more memory)\n", ZSTDCLI_CLEVEL_MAX, ZSTD_maxCLevel());
|
||||||
DISPLAY( "--long[=#] : enable long distance matching with given window log (default : %u)\n", g_defaultMaxWindowLog);
|
DISPLAY( "--long[=#] : enable long distance matching with given window log (default: %u)\n", g_defaultMaxWindowLog);
|
||||||
#ifdef ZSTD_MULTITHREAD
|
#ifdef ZSTD_MULTITHREAD
|
||||||
DISPLAY( " -T# : use # threads for compression (default:1) \n");
|
DISPLAY( " -T# : use # threads for compression (default: 1) \n");
|
||||||
DISPLAY( " -B# : select size of each job (default:0==automatic) \n");
|
DISPLAY( " -B# : select size of each job (default: 0==automatic) \n");
|
||||||
#endif
|
#endif
|
||||||
DISPLAY( "--no-dictID : don't write dictID into header (dictionary compression)\n");
|
DISPLAY( "--no-dictID : don't write dictID into header (dictionary compression)\n");
|
||||||
DISPLAY( "--[no-]check : integrity check (default:enabled) \n");
|
DISPLAY( "--[no-]check : integrity check (default: enabled) \n");
|
||||||
#endif
|
#endif
|
||||||
#ifdef UTIL_HAS_CREATEFILELIST
|
#ifdef UTIL_HAS_CREATEFILELIST
|
||||||
DISPLAY( " -r : operate recursively on directories \n");
|
DISPLAY( " -r : operate recursively on directories \n");
|
||||||
@ -157,9 +157,9 @@ static int usage_advanced(const char* programName)
|
|||||||
#ifndef ZSTD_NODECOMPRESS
|
#ifndef ZSTD_NODECOMPRESS
|
||||||
DISPLAY( "--test : test compressed file integrity \n");
|
DISPLAY( "--test : test compressed file integrity \n");
|
||||||
#if ZSTD_SPARSE_DEFAULT
|
#if ZSTD_SPARSE_DEFAULT
|
||||||
DISPLAY( "--[no-]sparse : sparse mode (default:enabled on file, disabled on stdout)\n");
|
DISPLAY( "--[no-]sparse : sparse mode (default: enabled on file, disabled on stdout)\n");
|
||||||
#else
|
#else
|
||||||
DISPLAY( "--[no-]sparse : sparse mode (default:disabled)\n");
|
DISPLAY( "--[no-]sparse : sparse mode (default: disabled)\n");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
DISPLAY( " -M# : Set a memory usage limit for decompression \n");
|
DISPLAY( " -M# : Set a memory usage limit for decompression \n");
|
||||||
@ -171,15 +171,15 @@ static int usage_advanced(const char* programName)
|
|||||||
DISPLAY( "--train-cover[=k=#,d=#,steps=#] : use the cover algorithm with optional args\n");
|
DISPLAY( "--train-cover[=k=#,d=#,steps=#] : use the cover algorithm with optional args\n");
|
||||||
DISPLAY( "--train-legacy[=s=#] : use the legacy algorithm with selectivity (default: %u)\n", g_defaultSelectivityLevel);
|
DISPLAY( "--train-legacy[=s=#] : use the legacy algorithm with selectivity (default: %u)\n", g_defaultSelectivityLevel);
|
||||||
DISPLAY( " -o file : `file` is dictionary name (default: %s) \n", g_defaultDictName);
|
DISPLAY( " -o file : `file` is dictionary name (default: %s) \n", g_defaultDictName);
|
||||||
DISPLAY( "--maxdict=# : limit dictionary to specified size (default : %u) \n", g_defaultMaxDictSize);
|
DISPLAY( "--maxdict=# : limit dictionary to specified size (default: %u) \n", g_defaultMaxDictSize);
|
||||||
DISPLAY( "--dictID=# : force dictionary ID to specified value (default: random)\n");
|
DISPLAY( "--dictID=# : force dictionary ID to specified value (default: random)\n");
|
||||||
#endif
|
#endif
|
||||||
#ifndef ZSTD_NOBENCH
|
#ifndef ZSTD_NOBENCH
|
||||||
DISPLAY( "\n");
|
DISPLAY( "\n");
|
||||||
DISPLAY( "Benchmark arguments : \n");
|
DISPLAY( "Benchmark arguments : \n");
|
||||||
DISPLAY( " -b# : benchmark file(s), using # compression level (default : 1) \n");
|
DISPLAY( " -b# : benchmark file(s), using # compression level (default: %d) \n", ZSTDCLI_CLEVEL_DEFAULT);
|
||||||
DISPLAY( " -e# : test all compression levels from -bX to # (default: 1)\n");
|
DISPLAY( " -e# : test all compression levels from -bX to # (default: 1)\n");
|
||||||
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 blocks of size # (default: no block)\n");
|
||||||
DISPLAY( "--priority=rt : set process priority to real-time \n");
|
DISPLAY( "--priority=rt : set process priority to real-time \n");
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user