The correct answer is:
He offers to swear a binding oath.
He tells the swineherd something that only he and odysseus knew.
Odysseus told the swineherd if his lord didn't return as Odysseus said he would, the swineherd should kill him so that other beggars wouldn't try to deceive him.