From: Yann Collet Date: Fri, 16 Sep 2016 16:52:52 +0000 (+0200) Subject: added -- command in help X-Git-Tag: v1.1.0~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=60038948e6a87171f868daef1f9483871df07b6b;p=thirdparty%2Fzstd.git added -- command in help --- diff --git a/programs/zstd.1 b/programs/zstd.1 index a23616529..c262a0c6a 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 4a58b05b8..14571344f 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");