Skip to content

Commit

Permalink
Show output and progress with -P in lrz compatibility mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
ckolivas committed Feb 27, 2022
1 parent f0c31e7 commit 74814b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -561,7 +561,7 @@ int main(int argc, char *argv[])
}
}

if (compat)
if (compat && !SHOW_PROGRESS)
control->flags &= ~FLAG_OUTPUT;

argc -= optind;
Expand Down

0 comments on commit 74814b3

Please sign in to comment.