1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-29 11:21:22 +03:00

update --rm cmd help info

Starting from cee6bec9fa, --rm is ignored when the output is `stdout`.
This commit is contained in:
shixuantong
2025-05-09 22:47:08 +08:00
parent f9938c217d
commit 4bd5654e72
3 changed files with 3 additions and 3 deletions

View File

@ -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");