mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 13:15:30 +08:00
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:
|
||||
what = "unsigned integer"
|
||||
default:
|
||||
what = fmt.Sprintf("%T value", o.Default)
|
||||
what = fmt.Sprintf("value of type %s", o.Type())
|
||||
}
|
||||
}
|
||||
var in string
|
||||
|
|
Loading…
Reference in New Issue
Block a user