]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Merge pull request #1041 from facebook/fasterFast
authorYann Collet <Cyan4973@users.noreply.github.com>
Wed, 14 Mar 2018 04:32:46 +0000 (21:32 -0700)
committerGitHub <noreply@github.com>
Wed, 14 Mar 2018 04:32:46 +0000 (21:32 -0700)
Negative compression levels

1  2 
programs/zstdcli.c

index 9f8d4dea79219a334ac5e5e9914fa6982c70ec7a,aa811a29dcac4d84d314729b5e9bd99eabf7e3e0..bf82843aa7c0d141cfc7bfea36b058e8c895ecd1
@@@ -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");