From 5e13a6ec469e25c7dd425c7da4518b4ad2a8862d Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Thu, 10 Nov 2016 12:22:37 -0800 Subject: improved man on compression level --- NEWS | 5 ++++- programs/lz4.1 | 14 ++++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/NEWS b/NEWS index 3257fd5..ebf8e1c 100644 --- a/NEWS +++ b/NEWS @@ -9,11 +9,14 @@ Improved cmake build script, by Evan Nemerson New liblz4-dll project, by Przemyslaw Skibinki Makefile: Generates object files (*.o) for faster (re)compilation on low power systems cli : new : --rm command -cli : new : file attributes are preserved, by Przemyslaw Skibinki +cli : new : preserved file attributes, by Przemyslaw Skibinki cli : fix : crash on some invalid inputs cli : fix : -t correctly validates lz4-compressed files, by Nick Terrell cli : fix : detects and reports fread() errors, thanks to Hiroshi Fujishima report #243 cli : bench : new : -r recursive mode +lz4cat : can cat multiple files in a single command line (#184) +Added : doc/lz4_manual.html, by Przemyslaw Skibinski +Added : dictionary compression example, by Nick Terrell Added : Debianization, by Evgeniy Polyakov r131 diff --git a/programs/lz4.1 b/programs/lz4.1 index fcc7980..1d9238d 100644 --- a/programs/lz4.1 +++ b/programs/lz4.1 @@ -141,11 +141,13 @@ Benchmark mode, using # compression level. . .SS "Operation modifiers" .TP -.B \-1 - fast compression (default) -.TP -.B \-9 - high compression +.B \-# + compression level, with # being any value from 1 to 16. + Higher values trade compression speed for compression ratio. + Values above 16 are considered the same as 16. + Recommended values are 1 for fast compression (default), and 9 for high compression. + Speed/compression trade-off will vary depending on data to compress. + Decompression speed remains fast at all settings. .TP .BR \-f ", " --[no-]force @@ -180,7 +182,7 @@ for files that have not been compressed with By default, the second filename is used as the destination filename for the compressed file. With .B -m -, you can specify any number of input filenames. Each of them will be compressed +, it is possible to specify any number of input filenames. Each of them will be compressed independently, and the resulting name of each compressed file will be .B filename.lz4 . -- cgit v0.12