Fix handling of at-files containing -- followed by positional arguments

This commit is contained in:
Rangi
2026-07-21 13:35:39 -04:00
parent 106ec399d5
commit ec43f06bd9
+1 -1
View File
@@ -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
}
}