SWDEV-1 - Fix getopt for options that don't have colon

Change-Id: Ibb8907e23294bfa033bdefb243ddac35574983b0
이 커밋은 다음에 포함됨:
Jason Tang가 2021-11-22 15:51:28 -05:00를 커밋했습니다
1 부모 0f79d51998
커밋 aba8b08701
1 파일이 변경됨
+2 -1
+2 -1
파일 보기
@@ -42,7 +42,8 @@ int getopt(int argc, char *const argv[], const char *optstring) {
return '?';
}
optarg = argv[optind];
optind++;
}
optind++;
return opt;
}