Add -b / --use-bit option to display rates in bit/s instead of bytes/s
Signed-off-by: Thomas Graf <tgraf@suug.ch>
This commit is contained in:
@ -33,17 +33,25 @@
|
||||
* div = { 1, 1000, 1000000, 1000000000, 1000000000000 }
|
||||
* txt = { "B", "KB", "MB", "GB", "TB" }
|
||||
* }
|
||||
* variant bit {
|
||||
* div = { 0.125, 125, 125000, 125000000, 125000000000 }
|
||||
* txt = { "b", "Kb", "Mb", "Gb", "Tb" }
|
||||
* }
|
||||
* }
|
||||
*
|
||||
* unit bit {
|
||||
* variant default {
|
||||
* div = { 1, 1024, 1048576, 1073741824, 1099511627776}
|
||||
* txt = { "b", "Kib", "Mib", "Gib", "TiB" }
|
||||
* div = { 1, 1000, 1000000, 1000000000, 1000000000000 }
|
||||
* txt = { "b", "Kb", "Mb", "Gb", "Tb" }
|
||||
* }
|
||||
* variant si {
|
||||
* div = { 1, 1000, 1000000, 1000000000, 1000000000000 }
|
||||
* txt = { "b", "Kb", "Mb", "Gb", "Tb" }
|
||||
* }
|
||||
* variant bit {
|
||||
* div = { 1, 1000, 1000000, 1000000000, 1000000000000 }
|
||||
* txt = { "b", "Kb", "Mb", "Gb", "Tb" }
|
||||
* }
|
||||
* }
|
||||
*
|
||||
* unit number {
|
||||
|
Reference in New Issue
Block a user