]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Add documentation for --patch-from 2693/head
authorBinh Vo <binhvo@fb.com>
Thu, 3 Jun 2021 15:12:27 +0000 (11:12 -0400)
committerBinh Vo <binhvo@fb.com>
Thu, 3 Jun 2021 15:12:27 +0000 (11:12 -0400)
programs/README.md
programs/zstdcli.c

index 7fd71042008561a2167848526943400bbfbf1542..02a83ca3c8da3d109204be26b796b37d20085de3 100644 (file)
@@ -172,6 +172,7 @@ Advanced compression arguments :
 --long[=#]: enable long distance matching with given window log (default: 27)
 --fast[=#]: switch to very fast compression levels (default: 1)
 --adapt : dynamically adapt compression level to I/O conditions
+--patch-from=FILE : specify the file to be used as a reference point for zstd's diff engine
  -T#    : spawns # compression threads (default: 1, 0==# cores)
  -B#    : select size of each job (default: 0==automatic)
 --single-thread : use a single thread for both I/O and compression (result slightly different than -T1)
index 239aaf40614ba205daef5240357441ca87600587..9e2133c4f867f74c6f4eacf7b608ba6c257d5515 100644 (file)
@@ -208,6 +208,7 @@ static void usage_advanced(const char* programName)
     DISPLAYOUT( "--fast[=#]: switch to very fast compression levels (default: %u) \n", 1);
     DISPLAYOUT( "--adapt : dynamically adapt compression level to I/O conditions \n");
     DISPLAYOUT( "--[no-]row-match-finder : force enable/disable usage of fast row-based matchfinder for greedy, lazy, and lazy2 strategies \n");
+    DISPLAYOUT( "--patch-from=FILE : specify the file to be used as a reference point for zstd's diff engine. \n");
 # ifdef ZSTD_MULTITHREAD
     DISPLAYOUT( " -T#    : spawns # compression threads (default: 1, 0==# cores) \n");
     DISPLAYOUT( " -B#    : select size of each job (default: 0==automatic) \n");