diff --git a/internal/convert/bool.go b/internal/convert/bool.go index 7220dd5..d6139fa 100644 --- a/internal/convert/bool.go +++ b/internal/convert/bool.go @@ -28,9 +28,9 @@ func ToBool(v any) (bool, error) { func StrToBool(s string) (bool, error) { lower := strings.ToLower(s) switch lower { - case "1", "on", "yes", "true": + case "1", "on", "yes", "true", "t": return true, nil - case "0", "off", "no", "false": + case "0", "off", "no", "false", "f": return false, nil }