SimpleCLParser#addOption(): add code to validate some illegal cases.

TestParser.java: add tests for the code.