diff options
Diffstat (limited to 'parse-options.c')
-rw-r--r-- | parse-options.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/parse-options.c b/parse-options.c index 2a2c0ee24f..e7885844be 100644 --- a/parse-options.c +++ b/parse-options.c @@ -860,11 +860,11 @@ int parse_options_end(struct parse_opt_ctx_t *ctx) return ctx->cpidx + ctx->argc; } -enum parse_opt_result parse_options(int argc, const char **argv, - const char *prefix, - const struct option *options, - const char * const usagestr[], - enum parse_opt_flags flags) +int parse_options(int argc, const char **argv, + const char *prefix, + const struct option *options, + const char * const usagestr[], + enum parse_opt_flags flags) { struct parse_opt_ctx_t ctx; struct option *real_options; |