]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Avoid unnecessary line continuations
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
Sun, 6 Aug 2023 11:11:03 +0000 (13:11 +0200)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Mon, 7 Aug 2023 06:22:56 +0000 (08:22 +0200)
test/minideflate.c
test/minigzip.c
test/switchlevels.c

index 987e6121baaeb734814270f495b83f3eb4748049..87513df3805262cf0cf62085a3a028327e1be64f 100644 (file)
@@ -205,22 +205,22 @@ void inflate_params(FILE *fin, FILE *fout, int32_t read_buf_size, int32_t write_
 }
 
 void show_help(void) {
-    printf("Usage: minideflate [-c][-d][-k] [-f|-h|-R|-F] [-m level] [-r/-t size] [-s flush] [-w bits] [-0 to -9] [input file]\n\n" \
-           "  -c : write to standard output\n" \
-           "  -d : decompress\n" \
-           "  -k : keep input file\n" \
-           "  -f : compress with Z_FILTERED\n" \
-           "  -h : compress with Z_HUFFMAN_ONLY\n" \
-           "  -R : compress with Z_RLE\n" \
-           "  -F : compress with Z_FIXED\n" \
-           "  -m : memory level (1 to 8)\n" \
-           "  -w : window bits..\n" \
+    printf("Usage: minideflate [-c][-d][-k] [-f|-h|-R|-F] [-m level] [-r/-t size] [-s flush] [-w bits] [-0 to -9] [input file]\n\n"
+           "  -c : write to standard output\n"
+           "  -d : decompress\n"
+           "  -k : keep input file\n"
+           "  -f : compress with Z_FILTERED\n"
+           "  -h : compress with Z_HUFFMAN_ONLY\n"
+           "  -R : compress with Z_RLE\n"
+           "  -F : compress with Z_FIXED\n"
+           "  -m : memory level (1 to 8)\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" \
+           "  -s : flush type (0 to 5)\n"
+           "  -r : read buffer size\n"
+           "  -t : write buffer size\n"
            "  -0 to -9 : compression level\n\n");
 }
 
index d55f5086be1d0b879e2a75300464be0d9078e794..2615433ce7fbf47591381836b8d9ba13816ee124 100644 (file)
@@ -265,16 +265,16 @@ void file_uncompress(char *file, int keep) {
 }
 
 void show_help(void) {
-    printf("Usage: minigzip [-c] [-d] [-k] [-f|-h|-R|-F|-T] [-A] [-0 to -9] [files...]\n\n" \
-           "  -c : write to standard output\n" \
-           "  -d : decompress\n" \
-           "  -k : keep input files\n" \
-           "  -f : compress with Z_FILTERED\n" \
-           "  -h : compress with Z_HUFFMAN_ONLY\n" \
-           "  -R : compress with Z_RLE\n" \
-           "  -F : compress with Z_FIXED\n" \
-           "  -T : stored raw\n" \
-           "  -A : auto detect type\n" \
+    printf("Usage: minigzip [-c] [-d] [-k] [-f|-h|-R|-F|-T] [-A] [-0 to -9] [files...]\n\n"
+           "  -c : write to standard output\n"
+           "  -d : decompress\n"
+           "  -k : keep input files\n"
+           "  -f : compress with Z_FILTERED\n"
+           "  -h : compress with Z_HUFFMAN_ONLY\n"
+           "  -R : compress with Z_RLE\n"
+           "  -F : compress with Z_FIXED\n"
+           "  -T : stored raw\n"
+           "  -A : auto detect type\n"
            "  -0 to -9 : compression level\n\n");
 }
 
index a065dbcff006dbf2cad14b2b7ee530f53f9012af..b31bc0f95c8a0219c447317a5473bdbbb4dd4120 100644 (file)
@@ -111,7 +111,7 @@ done:
 
 void show_help(void)
 {
-    printf("Usage: switchlevels [-w bits] level1 size1 [level2 size2 ...]\n\n" \
+    printf("Usage: switchlevels [-w bits] level1 size1 [level2 size2 ...]\n\n"
            "  -w : window bits (8 to 15 for gzip, -8 to -15 for zlib)\n\n");
 }