Add format and diff-option for log