From ec43f06bd955ef103252b45fcf02a6848ae5d1c0 Mon Sep 17 00:00:00 2001 From: Rangi Date: Tue, 21 Jul 2026 13:35:39 -0400 Subject: [PATCH] Fix handling of at-files containing `--` followed by positional arguments --- src/cli.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.cpp b/src/cli.cpp index 2981e4cc..13a48c30 100644 --- a/src/cli.cpp +++ b/src/cli.cpp @@ -130,7 +130,7 @@ void cli_ParseArgs( // This happens if `--` is passed, process the remaining arg(s) as positional assume(musl_optind < curArgc); for (int i = musl_optind; i < curArgc; ++i) { - parseArg(1, argv[i]); // Positional argument + parseArg(1, curArgv[i]); // Positional argument } }