szn

Bug 118 — cfg.zig — parseSetEnv doesn’t recognize -g followed by tab

118. cfg.zig — parseSetEnv doesn’t recognize -g followed by tab

File: src/cfg.zig:335 Severity: MEDIUM Status: ✅ FIXED — replaced startsWith(u8, "-g ") with remaining[0] == '-' and remaining[1] == 'g' + trim, matching the pattern used by parseSet. Tab-separated flags now work. Test added.

if (std.mem.startsWith(u8, remaining, "-g ")) {

Only checks for -g (space). Input set-environment -g\tFOO bar fails to match, and -g becomes the environment variable name. Inconsistent with parseSet which trims both spaces and tabs.