diff options
-rw-r--r-- | bin/common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/common.h b/bin/common.h index 14f850d..5d55acc 100644 --- a/bin/common.h +++ b/bin/common.h @@ -99,7 +99,8 @@ parse_options( /* Parse rest as forced arguments */ 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++; } |