mirror of https://github.com/rclone/rclone.git
config: show more user friendly names of custom types in ui
This commit is contained in:
parent
0f6c10ca02
commit
9c9487365f
|
@ -495,7 +495,7 @@ func ChooseOption(o *fs.Option, name string) string {
|
||||||
case uint, byte, uint16, uint32, uint64:
|
case uint, byte, uint16, uint32, uint64:
|
||||||
what = "unsigned integer"
|
what = "unsigned integer"
|
||||||
default:
|
default:
|
||||||
what = fmt.Sprintf("%T value", o.Default)
|
what = fmt.Sprintf("value of type %s", o.Type())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var in string
|
var in string
|
||||||
|
|
Loading…
Reference in New Issue