mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-20 10:57:09 +00:00
Print bytes in human-readable format. #18
This commit is contained in:
1 parent
099806aa82
commit
e5de8b9353
11 files changed
+11
-11
No files matched your search
+1
-1
@@ -141,7 +141,7 @@ func aptlyDbCleanup(cmd *commander.Command, args []string) error {
|
||||
}
|
||||
context.progress.ShutdownBar()
|
||||
|
||||
context.progress.Printf("Disk space freed: %.2f GiB...\n", float64(totalSize)/1024.0/1024.0/1024.0)
|
||||
context.progress.Printf("Disk space freed: %s...\n", utils.HumanBytes(totalSize))
|
||||
}
|
||||
|
||||
context.progress.Printf("Compacting database...\n")
|
||||
|
||||
Reference in new issue
Block a user