mirror of
https://github.com/JaCoB1123/dupe-finder.git
synced 2025-07-03 17:18:55 +02:00
Update units for mpb v8
This commit is contained in:
4
main.go
4
main.go
@ -74,7 +74,7 @@ func main() {
|
||||
decor.Elapsed(decor.ET_STYLE_HHMMSS),
|
||||
),
|
||||
mpb.AppendDecorators(
|
||||
decor.AverageSpeed(decor.UnitKiB, "%23.2f"),
|
||||
decor.AverageSpeed(decor.SizeB1024(0), "%23.2f"),
|
||||
decor.Name(" "),
|
||||
decor.CurrentKibiByte("%5d"),
|
||||
),
|
||||
@ -85,7 +85,7 @@ func main() {
|
||||
decor.Elapsed(decor.ET_STYLE_HHMMSS),
|
||||
),
|
||||
mpb.AppendDecorators(
|
||||
decor.AverageSpeed(decor.UnitKiB, "%23.2f"),
|
||||
decor.AverageSpeed(decor.SizeB1024(0), "%23.2f"),
|
||||
decor.Name(" "),
|
||||
decor.CurrentKibiByte("%5d"),
|
||||
),
|
||||
|
Reference in New Issue
Block a user