mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
update --rm cmd help info
Starting from cee6bec9fa, --rm is ignored when the output is `stdout`.
This commit is contained in:
parent
f9938c217d
commit
4bd5654e72
3 changed files with 3 additions and 3 deletions
|
|
@ -153,7 +153,7 @@ Usage: zstd [OPTIONS...] [INPUT... | -] [-o OUTPUT]
|
|||
Options:
|
||||
-o OUTPUT Write output to a single file, OUTPUT.
|
||||
-k, --keep Preserve INPUT file(s). [Default]
|
||||
--rm Remove INPUT file(s) after successful (de)compression.
|
||||
--rm Remove INPUT file(s) after successful (de)compression to file.
|
||||
|
||||
-# Desired compression level, where `#` is a number between 1 and 19;
|
||||
lower numbers provide faster compression, higher numbers yield
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ static void usage(FILE* f, const char* programName)
|
|||
DISPLAY_F(f, "Options:\n");
|
||||
DISPLAY_F(f, " -o OUTPUT Write output to a single file, OUTPUT.\n");
|
||||
DISPLAY_F(f, " -k, --keep Preserve INPUT file(s). [Default] \n");
|
||||
DISPLAY_F(f, " --rm Remove INPUT file(s) after successful (de)compression.\n");
|
||||
DISPLAY_F(f, " --rm Remove INPUT file(s) after successful (de)compression to file.\n");
|
||||
#ifdef ZSTD_GZCOMPRESS
|
||||
if (exeNameMatch(programName, ZSTD_GZ)) { /* behave like gzip */
|
||||
DISPLAY_F(f, " -n, --no-name Do not store original filename when compressing.\n\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue