Merge "SWDEV-1 - Fix getopt for options that don't have colon" into amd-staging

Этот коммит содержится в:
Jason Tang
2021-11-23 16:36:34 -05:00
коммит произвёл Gerrit Code Review
родитель 63bd627252 aba8b08701
Коммит 36298f36d3
поставляемый
+2 -1
Просмотреть файл
@@ -42,7 +42,8 @@ int getopt(int argc, char *const argv[], const char *optstring) {
return '?';
}
optarg = argv[optind];
optind++;
}
optind++;
return opt;
}