]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Adjust #ifndef logic 2278/head
authorsenhuang42 <senhuang96@fb.com>
Mon, 24 Aug 2020 21:36:36 +0000 (17:36 -0400)
committersenhuang42 <senhuang96@fb.com>
Mon, 24 Aug 2020 21:36:36 +0000 (17:36 -0400)
programs/zstdcli.c

index fce88d8c2e736b6f5f674bda664b7540e8cf0c08..4dda2a5cdebb4045b45ee53e9e46fda1a4b968eb 100644 (file)
@@ -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");