Make sure that user doesn't enter any orphaned "-" or "--" prefixes.