| author | |
| committer | |
| log | 31a56409131ab0ccfc516d8cbefbc4cd86f071ca |
| tree | 78fa1253a47816ddafd6ca643c656778a5b9ab83 |
| parent | 02612853644e6d07e5d996b8db72ed407b887254 |
| signature |
1 files changed, 1 insertions(+), 1 deletions(-)
src/lib.zig+1-1| ... | ... | @@ -130,7 +130,7 @@ pub fn getMulti(name: string) ?[]const string { |
| 130 | 130 | return if (x.len > 0) x else null; |
| 131 | 131 | } |
| 132 | 132 | |
| 133 | pub fn getBool(name: string, default: bool) !bool { | |
| 133 | pub fn getBool(name: string, default: bool) bool { | |
| 134 | 134 | const x = getSingle(name) orelse return default; |
| 135 | 135 | if (std.mem.eql(u8, x, "true")) return true; |
| 136 | 136 | const y = extras.parseDigits(u1, x, 2) catch return default; |