Technically, in latex (and what other format is there?) an en-dash is `--` and an em-dash is `---`. So that was just an em-dash. A `-` is a hyphen.

Us oldies learnt to type these with multiple dashes automatically, as unicode hadn't been invented yet.