Correct question: How long should a man's legs be? Answer: Long enough to reach the ground. It's a question that children use as a riddle. Does this help?
Since everybody who can stand has legs that reach the ground, this is a jokey way of saying that it doesn't matter how long your legs are, i.e., it doesn't matter how tall you are.