fix failing tests

This commit is contained in:
Rarkness 2024-03-06 13:12:33 +09:00
parent 8689105c58
commit 2b80488fa3
1 changed files with 1 additions and 2 deletions

View File

@ -553,9 +553,8 @@ func optionKindSwitch(kind reflect.Kind, typ CommandOptionType) (expectType Comm
return StringOptionType
case reflect.Bool:
return BooleanOptionType
default:
}
return
return typ
}
// Unmarshal unmarshals the options into the struct pointer v. Each struct field