Latex - "Wrong length of dash may have been used"?


I keep getting this error when saving latex files in atom (see bottom of image) - I can still compile this file on terminal, and its still builds the pdf as normal - how can I hide or fix this warning? Sorry if this question is obvious, I am just starting to learn LaTeX.


Okay, found the error - needs a double dash.