bin-refactor: Make parse_options() consistent
This commit is contained in:
parent
4b700ce16e
commit
684357d279
1 changed files with 2 additions and 1 deletions
|
@ -99,7 +99,8 @@ parse_options(
|
||||||
|
|
||||||
/* Parse rest as forced arguments */
|
/* Parse rest as forced arguments */
|
||||||
while (i < argc) {
|
while (i < argc) {
|
||||||
parse_argument(regular_args++, argv[i], 1, opaque);
|
result = parse_argument(regular_args++, argv[i], 1, opaque);
|
||||||
|
if (!result) return 0;
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue