Make flags show up with their proper names, eg SizeSuffix rather than int

This commit is contained in:
Nick Craig-Wood 2019-02-07 11:57:26 +00:00
parent 578d00666c
commit fc1bf5f931
6 changed files with 7 additions and 7 deletions

View file

@ -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