From 74814b3183d0b302d26afe16ccc53897a00173bc Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 27 Feb 2022 21:18:47 +1100 Subject: [PATCH] Show output and progress with -P in lrz compatibility mode. --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 34356ca..9d2621c 100644 --- a/main.c +++ b/main.c @@ -69,7 +69,7 @@ static rzip_control base_control, local_control, *control; static void usage(bool compat) { print_output("lrz%s version %s\n", compat ? "" : "ip", PACKAGE_VERSION); - print_output("Copyright (C) Con Kolivas 2006-2021\n"); + print_output("Copyright (C) Con Kolivas 2006-2022\n"); print_output("Based on rzip "); print_output("Copyright (C) Andrew Tridgell 1998-2003\n\n"); print_output("Usage: lrz%s [options] \n", compat ? "" : "ip"); @@ -561,7 +561,7 @@ int main(int argc, char *argv[]) } } - if (compat) + if (compat && !SHOW_PROGRESS) control->flags &= ~FLAG_OUTPUT; argc -= optind;