Added --bits option

This commit is contained in:
Andrew Wood
2023-07-16 23:12:12 +01:00
parent fd46c9b1f6
commit 461486ec4f
12 changed files with 70 additions and 15 deletions
+1
View File
@@ -22,6 +22,7 @@ struct opts_s { /* structure describing run-time options */
bool rate; /* rate counter flag */
bool average_rate; /* average rate counter flag */
bool bytes; /* bytes transferred flag */
bool bits; /* report transfer size in bits */
bool bufpercent; /* transfer buffer percentage flag */
unsigned int lastwritten; /* show N bytes last written */
bool force; /* force-if-not-terminal flag */