SWDEV-1 - Fix getopt for options that don't have colon
Change-Id: Ibb8907e23294bfa033bdefb243ddac35574983b0
This commit is contained in:
Vendored
+2
-1
@@ -42,7 +42,8 @@ int getopt(int argc, char *const argv[], const char *optstring) {
|
||||
return '?';
|
||||
}
|
||||
optarg = argv[optind];
|
||||
optind++;
|
||||
}
|
||||
|
||||
optind++;
|
||||
return opt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user