How to solve iOS automatically changing dashes.
--
(two hyphens) and not a long dash —
. On iOS, typing two dashes often gets auto-replaced with a long dash, which breaks command flags.
To fix this, disable Smart Punctuation on your iOS device: go to Settings → General → Keyboard, then turn off Smart Punctuation.