From ff6713fd72b083ce8a7d1f2a89cd3749ce9f07a8 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Tue, 12 Mar 2024 13:09:10 -0700 Subject: [PATCH] fix duplicated paragraph reported by @zougloub --- programs/zstd.1 | 4 ++-- programs/zstd.1.md | 12 ++++-------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/programs/zstd.1 b/programs/zstd.1 index 1eb9b9738..f7af55270 100644 --- a/programs/zstd.1 +++ b/programs/zstd.1 @@ -271,10 +271,10 @@ Employing environment variables to set parameters has security implications\. Th They can both be overridden by corresponding command line arguments: \fB\-#\fR for compression level and \fB\-T#\fR for number of compression threads\. . .SH "ADVANCED COMPRESSION OPTIONS" -zstd provides 22 predefined regular compression levels plus the fast levels\. A compression level is translated internally into a number of specific parameters that actually control the behavior of the compressor (one can see the result of this translation with \-\-show\-default\-cparams)\. These specific parameters can be overridden with advanced compression options\. +\fBzstd\fR provides 22 predefined regular compression levels plus the fast levels\. A compression level is translated internally into multiple advanced parameters that control the behavior of the compressor (one can observe the result of this translation with \fB\-\-show\-default\-cparams\fR)\. These advanced parameters can be overridden using advanced compression options\. . .SS "\-\-zstd[=options]:" -\fBzstd\fR provides 22 predefined regular compression levels plus the fast levels\. This compression level is translated internally into a number of specific parameters that actually control the behavior of the compressor\. (You can see the result of this translation with \fB\-\-show\-default\-cparams\fR\.) These specific parameters can be overridden with advanced compression options\. The \fIoptions\fR are provided as a comma\-separated list\. You may specify only the options you want to change and the rest will be taken from the selected or default compression level\. The list of available \fIoptions\fR: +The \fIoptions\fR are provided as a comma\-separated list\. You may specify only the options you want to change and the rest will be taken from the selected or default compression level\. The list of available \fIoptions\fR: . .TP \fBstrategy\fR=\fIstrat\fR, \fBstrat\fR=\fIstrat\fR diff --git a/programs/zstd.1.md b/programs/zstd.1.md index f5abb141a..fcbfb4573 100644 --- a/programs/zstd.1.md +++ b/programs/zstd.1.md @@ -350,16 +350,12 @@ They can both be overridden by corresponding command line arguments: ADVANCED COMPRESSION OPTIONS ---------------------------- -zstd provides 22 predefined regular compression levels plus the fast levels. -A compression level is translated internally into a number of specific parameters that actually control the behavior of the compressor -(one can see the result of this translation with --show-default-cparams). -These specific parameters can be overridden with advanced compression options. +`zstd` provides 22 predefined regular compression levels plus the fast levels. +A compression level is translated internally into multiple advanced parameters that control the behavior of the compressor +(one can observe the result of this translation with `--show-default-cparams`). +These advanced parameters can be overridden using advanced compression options. ### --zstd[=options]: -`zstd` provides 22 predefined regular compression levels plus the fast levels. -This compression level is translated internally into a number of specific parameters that actually control the behavior of the compressor. -(You can see the result of this translation with `--show-default-cparams`.) -These specific parameters can be overridden with advanced compression options. The _options_ are provided as a comma-separated list. You may specify only the options you want to change and the rest will be taken from the selected or default compression level.