From: Yann Collet Date: Wed, 14 Mar 2018 04:32:46 +0000 (-0700) Subject: Merge pull request #1041 from facebook/fasterFast X-Git-Tag: v1.3.4~1^2~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c5cbac179599f6de39361beee71b9548d13d207;p=thirdparty%2Fzstd.git Merge pull request #1041 from facebook/fasterFast Negative compression levels --- 4c5cbac179599f6de39361beee71b9548d13d207 diff --cc programs/zstdcli.c index 9f8d4dea7,aa811a29d..bf82843aa --- a/programs/zstdcli.c +++ b/programs/zstdcli.c @@@ -133,9 -133,10 +133,10 @@@ static int usage_advanced(const char* p DISPLAY( " -l : print information about zstd compressed files \n"); #ifndef ZSTD_NOCOMPRESS DISPLAY( "--ultra : enable levels beyond %i, up to %i (requires more memory)\n", ZSTDCLI_CLEVEL_MAX, ZSTD_maxCLevel()); - DISPLAY( "--long[=#] : enable long distance matching with given window log (default: %u)\n", g_defaultMaxWindowLog); + DISPLAY( "--long[=#]: enable long distance matching with given window log (default: %u)\n", g_defaultMaxWindowLog); + DISPLAY( "--fast[=#]: switch to ultra fast compression level (default: %u)\n", 1); #ifdef ZSTD_MULTITHREAD - DISPLAY( " -T# : spawns # compression threads (default: 1) \n"); + DISPLAY( " -T# : spawns # compression threads (default: 1, 0==# cores) \n"); DISPLAY( " -B# : select size of each job (default: 0==automatic) \n"); #endif DISPLAY( "--no-dictID : don't write dictID into header (dictionary compression)\n");