1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-20 00:43:36 +03:00

cool commit

This commit is contained in:
Macintxsh 2023-07-25 19:16:28 +03:00
parent 05fd343dce
commit f037bfbaa0
Signed by: mctaylors
GPG key ID: 2E1BF7AD0D4BB0B4

View file

@ -19,7 +19,7 @@ public class BoolOption : Option<bool> {
} }
private static bool TryParseBool(string from, out bool value) { private static bool TryParseBool(string from, out bool value) {
from = from.ToLower(); from = from.ToLowerInvariant();
value = false; value = false;
switch (from) { switch (from) {
case "true" or "1" or "y" or "yes" or "д" or "да": case "true" or "1" or "y" or "yes" or "д" or "да":