mirror of
https://github.com/lz4/lz4.git
synced 2024-11-26 19:34:53 +08:00
update -H documentation regarding compression levels
This commit is contained in:
parent
e0781fbe4b
commit
217bdb2f2f
@ -208,8 +208,11 @@ static int usage_longhelp(const char* exeName)
|
|||||||
DISPLAY( "\n");
|
DISPLAY( "\n");
|
||||||
DISPLAY( "Compression levels : \n");
|
DISPLAY( "Compression levels : \n");
|
||||||
DISPLAY( "---------------------\n");
|
DISPLAY( "---------------------\n");
|
||||||
DISPLAY( "-0 ... -2 => Fast compression, all identical\n");
|
DISPLAY( "-0 => Default level, identical to -%u \n", LZ4_CLEVEL_DEFAULT);
|
||||||
DISPLAY( "-3 ... -%d => High compression; higher number == more compression but slower\n", LZ4HC_CLEVEL_MAX);
|
DISPLAY( "-1 => Fast compression \n");
|
||||||
|
DISPLAY( "-2 .. -%d => High compression; higher number == more compression but slower\n", LZ4HC_CLEVEL_MAX);
|
||||||
|
DISPLAY( "--best => Highest available compression level (-%d) \n", LZ4HC_CLEVEL_MAX);
|
||||||
|
DISPLAY( "--fast=# => Faster compression; higher number == faster but compress less\n");
|
||||||
DISPLAY( "\n");
|
DISPLAY( "\n");
|
||||||
DISPLAY( "stdin, stdout and the console : \n");
|
DISPLAY( "stdin, stdout and the console : \n");
|
||||||
DISPLAY( "--------------------------------\n");
|
DISPLAY( "--------------------------------\n");
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
/* Default compression level.
|
/* Default compression level.
|
||||||
* Can be overridden by environment variable LZ4_CLEVEL.
|
* Can be overridden by environment variable LZ4_CLEVEL.
|
||||||
* Can be overridden at runtime using -# command */
|
* Is overridden at runtime by command -# */
|
||||||
#ifndef LZ4_CLEVEL_DEFAULT
|
#ifndef LZ4_CLEVEL_DEFAULT
|
||||||
# define LZ4_CLEVEL_DEFAULT 1
|
# define LZ4_CLEVEL_DEFAULT 1
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user