checkdiff: pass diff_options to the callback