summaryrefslogtreecommitdiffstats
path: root/lib/dll
diff options
context:
space:
mode:
authorPrzemyslaw Skibinski <inikep@gmail.com>2016-11-16 09:53:06 (GMT)
committerPrzemyslaw Skibinski <inikep@gmail.com>2016-11-16 09:53:06 (GMT)
commit632ab3b8d411b8da88ea8963992d2b8d2db5a7e9 (patch)
treef9c7cf450941b221f76652011ffedf3dd72c7930 /lib/dll
parent8b48d5e446267418082b4d389fa6729e5a03a823 (diff)
downloadlz4-632ab3b8d411b8da88ea8963992d2b8d2db5a7e9.zip
lz4-632ab3b8d411b8da88ea8963992d2b8d2db5a7e9.tar.gz
lz4-632ab3b8d411b8da88ea8963992d2b8d2db5a7e9.tar.bz2
updated programs\README.md
Diffstat (limited to 'lib/dll')
-rw-r--r--lib/dll/example/README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/dll/example/README.md b/lib/dll/example/README.md
index 6f2b402..216c1e9 100644
--- a/lib/dll/example/README.md
+++ b/lib/dll/example/README.md
@@ -11,6 +11,19 @@ The static and dynamic LZ4 libraries
- `static\liblz4_static.lib` : The static LZ4 library
+#### Usage of Command Line Interface
+
+Command Line Interface (CLI) supports gzip-like arguments.
+By default CLI takes an input file and compresses it to an output file:
+```
+Usage: lz4 [arg] [input] [output]
+```
+The full list of commands for CLI can be obtained with `-h` or `-H`.
+The ratio can be improved with commands from `-3` to `-16` but higher levels also have slower compression.
+CLI supports aggregation of parameters i.e. `-b1`, `-e18`, and `-i1` can be joined into `-b1e18i1`.
+CLI includes in-memory compression benchmark module with compression levels starting from `-b` and ending with `-e` with iteration time of `-i` seconds.
+
+
#### The example of usage of static and dynamic LZ4 libraries with gcc/MinGW
Use `cd example` and `make` to build `fullbench-dll` and `fullbench-lib`.