Rename --eta-window to --average-rate-window, since that is what it does, and correct the behaviour of the final update so the final rate shown is the average rate across the whole transfer.

This commit is contained in:
Andrew Wood
2023-07-16 21:00:08 +01:00
parent 62b5ac26df
commit 4fddf40436
9 changed files with 29 additions and 13 deletions
+2 -2
View File
@@ -40,9 +40,9 @@ void display_help(void)
N_("show data transfer rate counter")},
{"-a", "--average-rate", 0,
N_("show data transfer average rate counter")},
{"-m", "--eta-window", N_("SEC"),
{"-m", "--average-rate-window", N_("SEC"),
N_
("compute ETA based on rate over past SEC seconds (default 30s)")},
("compute average rate over past SEC seconds (default 30s)")},
{"-b", "--bytes", 0,
N_("show number of bytes transferred")},
{"-T", "--buffer-percent", 0,