add viewdiff command