The correct answer is 'whom'. In English grammar, 'whom' is used as the object of a verb or preposition. In this sentence, 'the man' is the object of the verb 'told'. Therefore, 'whom' is the appropriate word to use.