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.
This commit is contained in:
Jia Tan 2023-11-09 13:56:25 +08:00
parent 9ffdb5f006
commit 340505c033
1 changed files with 1 additions and 1 deletions

View File

@ -412,7 +412,7 @@ main(int argc, char **argv)
// Tell the message handling code how many input files there are if // Tell the message handling code how many input files there are if
// we know it. This way the progress indicator can show it. // 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); message_set_files(0);
else else
message_set_files(args.arg_count); message_set_files(args.arg_count);