]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Updated help usage with correct values for window_bits.
authorNathan Moinvaziri <nathan@nathanm.com>
Sun, 27 Feb 2022 18:06:13 +0000 (10:06 -0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Wed, 16 Mar 2022 10:42:45 +0000 (11:42 +0100)
test/minideflate.c

index 3f687877a4fcc90b7e708a463cf9b8bf5c67d85a..68e9907dc0b844effc00ebb0f1e228573b873371 100644 (file)
@@ -214,7 +214,10 @@ void show_help(void) {
            "  -R : compress with Z_RLE\n" \
            "  -F : compress with Z_FIXED\n" \
            "  -m : memory level (1 to 8)\n" \
-           "  -w : window bits (8 to 15 for gzip, -8 to -15 for zlib)\n" \
+           "  -w : window bits..\n" \
+           "     :   -1 to -15 for raw deflate\n"
+           "     :    0 to  15 for deflate (adler32)\n"
+           "     :   16 to  31 for gzip (crc32)\n"
            "  -s : flush type (0 to 5)\n" \
            "  -r : read buffer size\n" \
            "  -t : write buffer size\n" \