include int in command reset to reset 'Limit'

This commit is contained in:
UmairShahzad 2020-03-04 02:36:38 +05:00
parent 77a6caa84d
commit debedf98cf

View file

@ -57,7 +57,7 @@ func RunCommand(cmd *cobra.Command, args string) (*cmdOut, error) {
v.Replace([]string{})
default:
switch v.Type() {
case "bool", "string":
case "bool", "string", "int":
v.Set(f.DefValue)
}
}