mirror of
https://github.com/gbdev/rgbds.git
synced 2026-08-20 22:04:32 +00:00
Fix handling of at-files containing -- followed by positional arguments
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user