diff_pkgs needs to use a local variable for its options, otherwise they will accumulate for each package diffed.
diff_pkgs