added : --verbose command
diff --git a/programs/zstdcli.c b/programs/zstdcli.c
index f3780a4..e16b0ec 100644
--- a/programs/zstdcli.c
+++ b/programs/zstdcli.c
@@ -199,6 +199,7 @@
/* 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 @@
{
if (!inFileName) inFileName=stdinmark;
else outFileName=stdoutmark;
+ continue;
}
argument++;