cmd_diff(): make it obvious which cases are exclusive of each other