diff --git a/changelog.md b/changelog.md index 26554a779..454301b2e 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,7 @@ ## Unreleased +* `FIX` incorrect argument skip pattern for `--check_out_path=`, which incorrectly skips the next argument ## 3.13.6 `2025-2-6` diff --git a/script/cli/check.lua b/script/cli/check.lua index 7f38dfea4..d65c93580 100644 --- a/script/cli/check.lua +++ b/script/cli/check.lua @@ -21,7 +21,7 @@ local function buildArgs(exe, numThreads, threadId, format, quiet) args[#args + 1] = arg:gsub('%-%-%w*', '--check_worker') -- --check_out_path needs to be removed if we have more than one thread elseif arg:lower():match('%-%-check_out_path') and numThreads > 1 then - if not arg:match('%-%-%w*=') then + if not arg:match('%-%-[%w_]*=') then skipNext = true end else