From: Yann Collet Date: Wed, 26 Aug 2015 09:32:17 +0000 (+0100) Subject: added : --verbose command X-Git-Tag: v0.1.1^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50b6f941e824d8c697b5151db7a1677b938ccc8d;p=thirdparty%2Fzstd.git added : --verbose command --- diff --git a/programs/zstdcli.c b/programs/zstdcli.c index f3780a49f..e16b0ecde 100644 --- a/programs/zstdcli.c +++ b/programs/zstdcli.c @@ -199,6 +199,7 @@ int main(int argc, char** argv) /* long commands (--long-word) */ if (!strcmp(argument, "--version")) { displayOut=stdout; DISPLAY(WELCOME_MESSAGE); return 0; } if (!strcmp(argument, "--help")) { displayOut=stdout; return usage_advanced(programName); } + if (!strcmp(argument, "--verbose")) { displayLevel=4; continue; } /* Decode commands (note : aggregated commands are allowed) */ if (argument[0]=='-') @@ -208,6 +209,7 @@ int main(int argc, char** argv) { if (!inFileName) inFileName=stdinmark; else outFileName=stdoutmark; + continue; } argument++;