add option to control diff command line