cmd_diff(): rename local variable "list" -> "entry"