proj: Add optind to getopt

This commit is contained in:
lorenz.stechauner committed 2025-07-30 15:03:01 +02:00
1 parent 82d75417ef
commit 3891b11ef1
2 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -1226,7 +1226,7 @@ int sym(getopt)(const int argc, char *const argv[], const char *shortopts) {
else if_invalid(getopt)
}
const int ret = __real_getopt(argc, argv, shortopts);
msg("return %i", ret);
msg("return %i; optind %i", ret, optind);
return ret;
}