]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Add --single-thread to zstd --help 1958/head
authorNick Terrell <nickrterrell@gmail.com>
Fri, 17 Jan 2020 20:22:29 +0000 (12:22 -0800)
committerNick Terrell <nickrterrell@gmail.com>
Fri, 17 Jan 2020 21:54:49 +0000 (13:54 -0800)
programs/zstdcli.c

index a97554219748a4cf9b1d6ced330d009f10422445..f57bf3c0cc870ff308de4d8f2bc7a8569c32de88 100644 (file)
@@ -153,6 +153,7 @@ static void usage_advanced(const char* programName)
 # ifdef ZSTD_MULTITHREAD
     DISPLAYOUT( " -T#    : spawns # compression threads (default: 1, 0==# cores) \n");
     DISPLAYOUT( " -B#    : select size of each job (default: 0==automatic) \n");
+    DISPLAYOUT( " --single-thread : use a single thread for both I/O and compression (result slightly different than -T1)\n");
     DISPLAYOUT( "--rsyncable : compress using a rsync-friendly method (-B sets block size) \n");
 # endif
     DISPLAYOUT( "--no-dictID : don't write dictID into header (dictionary compression)\n");