mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-01-05 16:10:00 +01:00
Show output and progress with -P in lrz compatibility mode.
This commit is contained in:
parent
f0c31e7ebb
commit
74814b3183
4
main.c
4
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] <file...>\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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue