Added -m, --eta-window option: set time window for average rate computation (default 30s)

This commit is contained in:
lemonsqueeze
2023-05-29 15:11:37 +02:00
parent 06824aee2d
commit 6bdb951af4
7 changed files with 31 additions and 6 deletions
+6 -1
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).
rate of data transfer (default: last 30s, see --eta-window).
.TP
.B \-b, \-\-bytes
Turn the total byte counter on. This will display the total amount of
@@ -265,6 +265,11 @@ 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
Compute current average rate over a
.B SEC
seconds window for ETA calculation (default 30s).
.TP
.B \-w WIDTH, \-\-width WIDTH
Assume the terminal is
.B WIDTH