szn

Bug 147 — cfg.zig — Combined flags like -gw misparsed

147. cfg.zig — Combined flags like -gw misparsed

File: src/cfg.zig:183–192 Severity: LOW Status: ✅ FIXED — flags are now correctly parsed using the while loop.

switch (remaining[1]) {
    'g' => flags.flags.global = true,
    ...
}
remaining = std.mem.trim(u8, if (remaining.len > 2) remaining[2..] else "", " \t");

Input -gw option value is parsed as flag -g with option name w and value option value. Should either parse both flags or reject.