From 1e17184ad043fde95548dd7580fee62d7d6e5bdb Mon Sep 17 00:00:00 2001 From: Binh Vo Date: Thu, 3 Jun 2021 11:12:27 -0400 Subject: [PATCH] Add documentation for --patch-from --- programs/README.md | 1 + programs/zstdcli.c | 1 + 2 files changed, 2 insertions(+) diff --git a/programs/README.md b/programs/README.md index 7fd71042..02a83ca3 100644 --- a/programs/README.md +++ b/programs/README.md @@ -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) diff --git a/programs/zstdcli.c b/programs/zstdcli.c index 239aaf40..9e2133c4 100644 --- a/programs/zstdcli.c +++ b/programs/zstdcli.c @@ -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");