From e1e41addb3b5d318c1490f20b66a9e49d85a2ab6 Mon Sep 17 00:00:00 2001 From: senhuang42 Date: Mon, 24 Aug 2020 17:36:36 -0400 Subject: [PATCH] Adjust #ifndef logic --- programs/zstdcli.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/programs/zstdcli.c b/programs/zstdcli.c index fce88d8c2..4dda2a5cd 100644 --- a/programs/zstdcli.c +++ b/programs/zstdcli.c @@ -160,12 +160,11 @@ static void usage_advanced(const char* programName) #ifndef ZSTD_NODECOMPRESS DISPLAYOUT( ". If specified with -d, decompressor will ignore/validate checksums in compressed frame (default: validate)."); #endif -#endif /* ZSTD_NOCOMPRESS */ -#ifndef ZSTD_NODECOMPRESS +#else #ifdef ZSTD_NOCOMPRESS DISPLAYOUT( "--[no-]check : during decompression, ignore/validate checksums in compressed frame (default: validate)."); #endif -#endif /* ZSTD_NODECOMPRESS */ +#endif /* ZSTD_NOCOMPRESS */ DISPLAYOUT( "\n"); DISPLAYOUT( "-- : All arguments after \"--\" are treated as files \n"); -- 2.47.2