ls: introduce and global option to print human-readable sizes and consider it for ls commands

Fixes #1890
This commit is contained in:
albertony
2021-04-02 16:11:21 +02:00
parent 94521959f8
commit 721a9786a7
3 changed files with 62 additions and 3 deletions

View File

@@ -130,6 +130,7 @@ type ConfigInfo struct {
FsCacheExpireDuration time.Duration
FsCacheExpireInterval time.Duration
DisableHTTP2 bool
HumanReadable bool
}
// NewConfig creates a new config with everything set to the default