Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/test-yes-doc'
[gitweb.git]
/
parse-options-cb.c
diff --git
a/parse-options-cb.c
b/parse-options-cb.c
index ec01ef722bdc951bb038653de8b24d662efe9d38..2733393546d4d4dd9a55c5934531398f4a827ead 100644
(file)
--- a/
parse-options-cb.c
+++ b/
parse-options-cb.c
@@
-171,8
+171,10
@@
int parse_opt_noop_cb(const struct option *opt, const char *arg, int unset)
* parse_options().
*/
enum parse_opt_result parse_opt_unknown_cb(struct parse_opt_ctx_t *ctx,
- const struct option *opt, int unset)
+ const struct option *opt,
+ const char *arg, int unset)
{
+ BUG_ON_OPT_ARG(arg);
return PARSE_OPT_UNKNOWN;
}