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
+3 -3
View File
@@ -143,7 +143,7 @@ transfer.
.TP
.B \-a, \-\-average\-rate
Turn the average rate counter on. This will display the current average
rate of data transfer (default: last 30s, see --eta-window).
rate of data transfer (default: last 30s, see --average-rate-window).
.TP
.B \-b, \-\-bytes
Turn the total byte counter on. This will display the total amount of
@@ -276,10 +276,10 @@ Wait
seconds between updates. The default is to update every second.
Note that this can be a decimal such as 0.1.
.TP
.B \-m SEC, \-\-eta-window SEC
.B \-m SEC, \-\-average-rate-window SEC
Compute current average rate over a
.B SEC
seconds window for ETA calculation (default 30s).
seconds window for average rate and ETA calculations (default 30s).
.TP
.B \-w WIDTH, \-\-width WIDTH
Assume the terminal is