Remove 'x' if '-x' is being added as a flag, and vice-versa.