summaryrefslogtreecommitdiff
path: root/mailinfo.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2016-09-05 11:44:52 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-09-19 10:25:11 -0700
commitce564eb1bd541a87152e3546fb7d7a2b460df7ed (patch)
treec9036ec33eff913fffc97cff7dc985f5cd2a5e24 /mailinfo.c
parentdiff: improve positioning of add/delete blocks in diffs (diff)
downloadtgif-ce564eb1bd541a87152e3546fb7d7a2b460df7ed.tar.xz
parse-options: add parse_opt_unknown_cb()
Add a new callback function, parse_opt_unknown_cb(), which returns -2 to indicate that the corresponding option is unknown. This can be used to add "-h" documentation for an option that will be handled externally to parse_options(). Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'mailinfo.c')
0 files changed, 0 insertions, 0 deletions