add -p option to diff command