for cmd setting
add for diffstat