[doc] Update CLI help snippet: -T# default and --max

Fix two outdated claims in programs/README.md's embedded -h snippet:
the -T# default has not been 1 for some time (it is now between 1 and
4 based on physical CPU cores, matching zstd.1), and --max was not
listed at all.

Closes #4687
This commit is contained in:
matysanchez 2026-06-06 21:00:31 -05:00
parent 5233c58e6c
commit f2144ba522

View file

@ -201,12 +201,15 @@ Advanced options:
Advanced compression options:
--ultra Enable levels beyond 19, up to 22; requires more memory.
--max Set advanced parameters to reach maximum compression.
Warning: very slow and uses a lot of resources; disabled in 32-bit mode.
--fast[=#] Use to very fast compression levels. [Default: 1]
--adapt Dynamically adapt compression level to I/O conditions.
--long[=#] Enable long distance matching with window log #. [Default: 27]
--patch-from=REF Use REF as the reference point for Zstandard's diff engine.
-T# Spawn # compression threads. [Default: 1; pass 0 for core count.]
-T# Spawn # compression threads.
[Default: between 1 and 4 depending on physical CPU cores; pass 0 for core count.]
--single-thread Share a single thread for I/O and compression (slightly different than `-T1`).
--auto-threads={physical|logical}
Use physical/logical cores when using `-T0`. [Default: Physical]