From 60038948e6a87171f868daef1f9483871df07b6b Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Fri, 16 Sep 2016 18:52:52 +0200 Subject: [PATCH] added -- command in help --- programs/zstd.1 | 4 ++++ programs/zstdcli.c | 1 + 2 files changed, 5 insertions(+) diff --git a/programs/zstd.1 b/programs/zstd.1 index a2361652..c262a0c6 100644 --- a/programs/zstd.1 +++ b/programs/zstd.1 @@ -89,6 +89,10 @@ It also features a very fast decoder, with speed > 500 MB/s per core. .BR \-t ", " --test Test the integrity of compressed files. This option is equivalent to \fB--decompress --stdout > /dev/null\fR. No files are created or removed. +.TP +.BR -- + All arguments after -- are treated as files + .SH DICTIONARY .PP diff --git a/programs/zstdcli.c b/programs/zstdcli.c index 4a58b05b..14571344 100644 --- a/programs/zstdcli.c +++ b/programs/zstdcli.c @@ -144,6 +144,7 @@ static int usage_advanced(const char* programName) DISPLAY( "--test : test compressed file integrity \n"); DISPLAY( "--[no-]sparse : sparse mode (default:enabled on file, disabled on stdout)\n"); #endif + DISPLAY( "-- : All arguments after \"--\" are treated as files \n"); #ifndef ZSTD_NODICT DISPLAY( "\n"); DISPLAY( "Dictionary builder :\n");