As seen in the title of What is the difference between -- and - before a command option? two hyphens are converted to a single long dash:
This is a problem when one considers that there is a difference between --foo and —foo (which isn't -foo). For commands and options, this conversion can make reading the title of the question difficult and lead to confused answers (and search engines?).