Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
remote-curl: retry failed requests for auth even with gzip
[gitweb.git]
/
parse-options.c
diff --git
a/parse-options.c
b/parse-options.c
index 190899611ef9f53a0bc5dc7b1a7f419350a301be..850cfa78c9b7bbcd1cb8504453f60fd15b8ceebb 100644
(file)
--- a/
parse-options.c
+++ b/
parse-options.c
@@
-393,6
+393,8
@@
int parse_options_step(struct parse_opt_ctx_t *ctx,
case -1:
return parse_options_usage(ctx, usagestr, options, 1);
case -2:
+ if (ctx->opt)
+ check_typos(arg + 1, options);
goto unknown;
}
if (ctx->opt)