From 7f52ce93e63faf21ed661ae71177826f7f47df7d Mon Sep 17 00:00:00 2001 From: Yan Date: Thu, 8 Jan 2026 03:47:37 +0000 Subject: [PATCH] Only show welcome-message if two or more verbose flags Makes it possible to show nicer progress from stdin with -v --- programs/zstdcli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/zstdcli.c b/programs/zstdcli.c index 01760ff8c45..3eb4eb4cc53 100644 --- a/programs/zstdcli.c +++ b/programs/zstdcli.c @@ -1334,8 +1334,8 @@ int main(int argCount, const char* argv[]) UTIL_refFilename(filenames, argument); } - /* Welcome message (if verbose) */ - DISPLAYLEVEL(3, WELCOME_MESSAGE); + /* Welcome message (if two verbose) */ + DISPLAYLEVEL(4, WELCOME_MESSAGE); #ifdef ZSTD_MULTITHREAD if ((operation==zom_decompress) && (setThreads_non1)) {