range-diff: use parse_options() instead of diff_opt_parse()
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 24 Mar 2019 08:20:12 +0000 (15:20 +0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 24 Mar 2019 13:21:24 +0000 (22:21 +0900)
commitc380a48c8b40331dd6466d6b565af6d44c7b11bf
tree51bb2273e1eba400d897505c8c219aa2d3d6dd85
parentbb9872904e032f28e4ac9d2438c4daba9eae9d05
range-diff: use parse_options() instead of diff_opt_parse()

Diff's internal option parsing is now done with 'struct option', which
makes it possible to combine all diff options to range-diff and parse
everything all at once. Parsing code becomes simpler, and we get a
looong 'git range-diff -h'

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/range-diff.c