From 340505c033f337c9cf21b8c3d7565443158cf883 Mon Sep 17 00:00:00 2001 From: Jia Tan Date: Thu, 9 Nov 2023 13:56:25 +0800 Subject: [PATCH] xz: Hide the number of input files with recursive mode. In recursive mode we don't know how many files to process at the beginning. So just like when using --files or --files0, the number of total files will not be shown. --- src/xz/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xz/main.c b/src/xz/main.c index a6e1c840..72731788 100644 --- a/src/xz/main.c +++ b/src/xz/main.c @@ -412,7 +412,7 @@ main(int argc, char **argv) // Tell the message handling code how many input files there are if // we know it. This way the progress indicator can show it. - if (args.files_name != NULL) + if (args.files_name != NULL || opt_recursive) message_set_files(0); else message_set_files(args.arg_count);