mirror of
https://github.com/facebook/zstd.git
synced 2025-08-07 06:23:00 +03:00
Clarify documentation for -c (#2883)
This commit is contained in:
@@ -87,7 +87,7 @@ void usage() {
|
|||||||
std::fprintf(stderr, " -V, --version : display version number and exit\n");
|
std::fprintf(stderr, " -V, --version : display version number and exit\n");
|
||||||
std::fprintf(stderr, " -v, --verbose : verbose mode; specify multiple times to increase log level (default:2)\n");
|
std::fprintf(stderr, " -v, --verbose : verbose mode; specify multiple times to increase log level (default:2)\n");
|
||||||
std::fprintf(stderr, " -q, --quiet : suppress warnings; specify twice to suppress errors too\n");
|
std::fprintf(stderr, " -q, --quiet : suppress warnings; specify twice to suppress errors too\n");
|
||||||
std::fprintf(stderr, " -c, --stdout : force write to standard output, even if it is the console\n");
|
std::fprintf(stderr, " -c, --stdout : write to standard output (even if it is the console)\n");
|
||||||
#ifdef UTIL_HAS_CREATEFILELIST
|
#ifdef UTIL_HAS_CREATEFILELIST
|
||||||
std::fprintf(stderr, " -r : operate recursively on directories\n");
|
std::fprintf(stderr, " -r : operate recursively on directories\n");
|
||||||
#endif
|
#endif
|
||||||
|
@@ -156,7 +156,7 @@ Arguments :
|
|||||||
|
|
||||||
Advanced arguments :
|
Advanced arguments :
|
||||||
-V : display Version number and exit
|
-V : display Version number and exit
|
||||||
-c : force write to standard output, even if it is the console
|
-c : write to standard output (even if it is the console)
|
||||||
-v : verbose mode; specify multiple times to increase verbosity
|
-v : verbose mode; specify multiple times to increase verbosity
|
||||||
-q : suppress warnings; specify twice to suppress errors too
|
-q : suppress warnings; specify twice to suppress errors too
|
||||||
--no-progress : do not display the progress counter
|
--no-progress : do not display the progress counter
|
||||||
|
@@ -111,7 +111,7 @@ This is also used during compression when using with \-\-patch\-from=\. In this
|
|||||||
.IP "\[ci]" 4
|
.IP "\[ci]" 4
|
||||||
\fB\-f\fR, \fB\-\-force\fR: disable input and output checks\. Allows overwriting existing files, input from console, output to stdout, operating on links, block devices, etc\.
|
\fB\-f\fR, \fB\-\-force\fR: disable input and output checks\. Allows overwriting existing files, input from console, output to stdout, operating on links, block devices, etc\.
|
||||||
.IP "\[ci]" 4
|
.IP "\[ci]" 4
|
||||||
\fB\-c\fR, \fB\-\-stdout\fR: force write to standard output, even if it is the console
|
\fB\-c\fR, \fB\-\-stdout\fR: write to standard output (even if it is the console)
|
||||||
.IP "\[ci]" 4
|
.IP "\[ci]" 4
|
||||||
\fB\-\-[no\-]sparse\fR: enable / disable sparse FS support, to make files with many zeroes smaller on disk\. Creating sparse files may save disk space and speed up decompression by reducing the amount of disk I/O\. default: enabled when output is into a file, and disabled when output is stdout\. This setting overrides default and can force sparse mode over stdout\.
|
\fB\-\-[no\-]sparse\fR: enable / disable sparse FS support, to make files with many zeroes smaller on disk\. Creating sparse files may save disk space and speed up decompression by reducing the amount of disk I/O\. default: enabled when output is into a file, and disabled when output is stdout\. This setting overrides default and can force sparse mode over stdout\.
|
||||||
.IP "\[ci]" 4
|
.IP "\[ci]" 4
|
||||||
|
@@ -208,7 +208,7 @@ the last one takes effect.
|
|||||||
disable input and output checks. Allows overwriting existing files, input
|
disable input and output checks. Allows overwriting existing files, input
|
||||||
from console, output to stdout, operating on links, block devices, etc.
|
from console, output to stdout, operating on links, block devices, etc.
|
||||||
* `-c`, `--stdout`:
|
* `-c`, `--stdout`:
|
||||||
force write to standard output, even if it is the console
|
write to standard output (even if it is the console)
|
||||||
* `--[no-]sparse`:
|
* `--[no-]sparse`:
|
||||||
enable / disable sparse FS support,
|
enable / disable sparse FS support,
|
||||||
to make files with many zeroes smaller on disk.
|
to make files with many zeroes smaller on disk.
|
||||||
|
@@ -163,7 +163,7 @@ static void usage_advanced(const char* programName)
|
|||||||
DISPLAYOUT( "Advanced arguments : \n");
|
DISPLAYOUT( "Advanced arguments : \n");
|
||||||
DISPLAYOUT( " -V : display Version number and exit \n");
|
DISPLAYOUT( " -V : display Version number and exit \n");
|
||||||
|
|
||||||
DISPLAYOUT( " -c : force write to standard output, even if it is the console \n");
|
DISPLAYOUT( " -c : write to standard output (even if it is the console) \n");
|
||||||
|
|
||||||
DISPLAYOUT( " -v : verbose mode; specify multiple times to increase verbosity \n");
|
DISPLAYOUT( " -v : verbose mode; specify multiple times to increase verbosity \n");
|
||||||
DISPLAYOUT( " -q : suppress warnings; specify twice to suppress errors too \n");
|
DISPLAYOUT( " -q : suppress warnings; specify twice to suppress errors too \n");
|
||||||
|
Reference in New Issue
Block a user