Fix mishighlighted string as command when string contains '-'.