proj: Add optind to getopt
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user