diff --git a/fs/config_list.go b/fs/config_list.go index ce1e5292f..31ab0eba0 100644 --- a/fs/config_list.go +++ b/fs/config_list.go @@ -27,7 +27,7 @@ func (l *CommaSepList) Set(s string) error { // Type of the value func (CommaSepList) Type() string { - return "[]string" + return "CommaSepList" } // Scan implements the fmt.Scanner interface @@ -46,7 +46,7 @@ func (l *SpaceSepList) Set(s string) error { // Type of the value func (SpaceSepList) Type() string { - return "[]string" + return "SpaceSepList" } // Scan implements the fmt.Scanner interface diff --git a/fs/dump.go b/fs/dump.go index ad3c98462..5d89b5abd 100644 --- a/fs/dump.go +++ b/fs/dump.go @@ -89,5 +89,5 @@ func (f *DumpFlags) Set(s string) error { // Type of the value func (f *DumpFlags) Type() string { - return "string" + return "DumpFlags" } diff --git a/fs/parseduration.go b/fs/parseduration.go index 4da162c87..94626a1fe 100644 --- a/fs/parseduration.go +++ b/fs/parseduration.go @@ -90,7 +90,7 @@ func (d *Duration) Set(s string) error { // Type of the value func (d Duration) Type() string { - return "duration" + return "Duration" } // Scan implements the fmt.Scanner interface diff --git a/fs/sizesuffix.go b/fs/sizesuffix.go index 51282d024..67b1d2c43 100644 --- a/fs/sizesuffix.go +++ b/fs/sizesuffix.go @@ -120,7 +120,7 @@ func (x *SizeSuffix) Set(s string) error { // Type of the value func (x *SizeSuffix) Type() string { - return "int64" + return "SizeSuffix" } // Scan implements the fmt.Scanner interface diff --git a/vfs/cache.go b/vfs/cache.go index 66e994c35..1bab888fb 100644 --- a/vfs/cache.go +++ b/vfs/cache.go @@ -59,7 +59,7 @@ func (l *CacheMode) Set(s string) error { // Type of the value func (l *CacheMode) Type() string { - return "string" + return "CacheMode" } // cache opened files diff --git a/vfs/vfsflags/filemode.go b/vfs/vfsflags/filemode.go index cfa39a71e..7d8eb028b 100644 --- a/vfs/vfsflags/filemode.go +++ b/vfs/vfsflags/filemode.go @@ -30,5 +30,5 @@ func (x *FileMode) Set(s string) error { // Type of the value func (x *FileMode) Type() string { - return "int" + return "FileMode" }