From: senhuang42 Date: Mon, 24 Aug 2020 21:36:36 +0000 (-0400) Subject: Adjust #ifndef logic X-Git-Tag: v1.4.7~94^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2278%2Fhead;p=thirdparty%2Fzstd.git Adjust #ifndef logic --- 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");