Leading hyphens already don't work (#22661), so no code should break from this change. Closes #22661.