From 0b18d21e03b9dd161cd27b8fd616dccb7f602e30 Mon Sep 17 00:00:00 2001 From: Paul Cruz Date: Tue, 25 Jul 2017 17:47:02 -0700 Subject: [PATCH] building on readme, added another help tip in the menu --- contrib/adaptive-compression/README.md | 17 +++++++++++++++++ contrib/adaptive-compression/adapt.c | 1 + 2 files changed, 18 insertions(+) diff --git a/contrib/adaptive-compression/README.md b/contrib/adaptive-compression/README.md index 09923d190..fadb071f9 100644 --- a/contrib/adaptive-compression/README.md +++ b/contrib/adaptive-compression/README.md @@ -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 diff --git a/contrib/adaptive-compression/adapt.c b/contrib/adaptive-compression/adapt.c index ead68bf4a..16701e75d 100644 --- a/contrib/adaptive-compression/adapt.c +++ b/contrib/adaptive-compression/adapt.c @@ -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"); }