Use two dashes to get the formatting right (that is, producing an em dash), not one.