cli: splitScalar -> tokenizeScalar

This commit is contained in:
Halil Durak committed 2026-04-22 16:08:14 +03:00
1 parent baf97bb607
commit 44849fdaf3
1 file changed
+1 -1
+1 -1
View File
@@ -440,7 +440,7 @@ pub fn Builder(comptime commands: anytype) type {
@field(c, option.name) = @bitCast(@as(Int, std.math.maxInt(Int)));
} else {
// Parse given args.
var it = std.mem.splitScalar(u8, str, ',');
var it = std.mem.tokenizeScalar(u8, str, ',');
outer: while (it.next()) |part| {
const trimmed = std.mem.trim(u8, part, &std.ascii.whitespace);