diff options
| author | Leah Amelia Chen <hi@pluie.me> | 2025-01-04 14:11:35 +0800 |
|---|---|---|
| committer | Mitchell Hashimoto <m@mitchellh.com> | 2025-01-05 12:27:11 -0800 |
| commit | f2c357a2099420043edcb26b38b142ff3da0259f (patch) | |
| tree | 426e00802dbbeab23906e90c64a2ce31edd3a91f /src/cli | |
| parent | cd90821b937ce4f9619eac2e5606012b155cefe0 (diff) | |
config: allow booleans for `background-blur-radius`
Diffstat (limited to 'src/cli')
| -rw-r--r-- | src/cli/args.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/args.zig b/src/cli/args.zig index be71b9096..23dcf7733 100644 --- a/src/cli/args.zig +++ b/src/cli/args.zig @@ -533,7 +533,7 @@ fn parsePackedStruct(comptime T: type, v: []const u8) !T { return result; } -fn parseBool(v: []const u8) !bool { +pub fn parseBool(v: []const u8) !bool { const t = &[_][]const u8{ "1", "t", "T", "true" }; const f = &[_][]const u8{ "0", "f", "F", "false" }; |
