diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2016-09-05 11:44:52 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-19 10:25:11 -0700 |
commit | ce564eb1bd541a87152e3546fb7d7a2b460df7ed (patch) | |
tree | c9036ec33eff913fffc97cff7dc985f5cd2a5e24 /git-p4.py | |
parent | diff: improve positioning of add/delete blocks in diffs (diff) | |
download | tgif-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 'git-p4.py')
0 files changed, 0 insertions, 0 deletions