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:
parent
9ffdb5f006
commit
340505c033
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue