X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=parse-options.h;h=ac6ba8abf9ec7af1712486ecfe3e397359c4a67f;hb=4627bc777e9ade5e3a85d6b8e8630fc4b6e2f8f6;hp=98ea42ffd9ecd977b655143651359bf1859eba2a;hpb=bd96a7871aa65ae461ab70c75d9e76a97af82f4e;p=thirdparty%2Fgit.git diff --git a/parse-options.h b/parse-options.h index 98ea42ffd9..ac6ba8abf9 100644 --- a/parse-options.h +++ b/parse-options.h @@ -292,7 +292,9 @@ int parse_opt_commit(const struct option *, const char *, int); int parse_opt_tertiary(const struct option *, const char *, int); int parse_opt_string_list(const struct option *, const char *, int); int parse_opt_noop_cb(const struct option *, const char *, int); -int parse_opt_unknown_cb(struct parse_opt_ctx_t *ctx, const struct option *, const char *, int); +enum parse_opt_result parse_opt_unknown_cb(struct parse_opt_ctx_t *ctx, + const struct option *, + const char *, int); int parse_opt_passthru(const struct option *, const char *, int); int parse_opt_passthru_argv(const struct option *, const char *, int);