]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
-r generates an error on systems which do not support it
authorYann Collet <cyan@fb.com>
Tue, 13 Sep 2016 15:50:08 +0000 (17:50 +0200)
committerYann Collet <cyan@fb.com>
Tue, 13 Sep 2016 15:50:08 +0000 (17:50 +0200)
programs/zstdcli.c

index e829c93d681802edb330a4e0d6706c3de2e2bb57..66b75a1998eb061aa2b4a7e9a21d109b8c700a4f 100644 (file)
@@ -334,8 +334,10 @@ int main(int argCount, char** argv)
                         /* destination file name */
                     case 'o': nextArgumentIsOutFileName=1; argument++; break;
 
+#ifdef UTIL_HAS_CREATEFILELIST
                         /* recursive */
                     case 'r': recursive=1; argument++; break;
+#endif
 
 #ifndef ZSTD_NOBENCH
                         /* Benchmark */