]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
building on readme, added another help tip in the menu
authorPaul Cruz <paulcruz74@fb.com>
Wed, 26 Jul 2017 00:47:02 +0000 (17:47 -0700)
committerPaul Cruz <paulcruz74@fb.com>
Wed, 26 Jul 2017 00:47:02 +0000 (17:47 -0700)
contrib/adaptive-compression/README.md
contrib/adaptive-compression/adapt.c

index 09923d1909280227eabd90a2386f46fad6ea0b9a..fadb071f9c235644c512e69d290e8e7bb3da0602 100644 (file)
@@ -6,3 +6,20 @@ In situations where the compression level does not appropriately match the netwo
 ###Using `adapt`
 
 In order to build and use the tool, you can simply run `make adapt` in the `adaptive-compression` directory under `contrib`. This will generate an executable available for use.
+
+###Options
+`-oFILE` : write output to `FILE`
+
+`-i#`    : provide initial compression level
+
+`-h`     : display help/information
+
+`-f`     : force the compression level to stay constant
+
+`-c`     : force write to `stdout`
+
+`-p`     : hide progress bar
+
+`-q`     : quiet mode -- do not show progress bar or other information
+
+###Benchmarking / Test results
index ead68bf4ae115408ea754ecc26c0dc590b695040..16701e75dad2cb8a54f92a1a85fdb592f5bc96ce 100644 (file)
@@ -924,6 +924,7 @@ static void help()
     PRINT("  -i#    : provide initial compression level\n");
     PRINT("  -h     : display help/information\n");
     PRINT("  -f     : force the compression level to stay constant\n");
+    PRINT("  -c     : force write to stdout\n");
     PRINT("  -p     : hide progress bar\n");
     PRINT("  -q     : quiet mode -- do not show progress bar or other information\n");
 }