Small update to the option parser

Added a warning message for invalid characters in the options parser.

I will improve this parser a lot when I add more options.