if(!theOptionMatcher.match(c)){
throw (new IllegalArgumentException("Option " +
c + " is not valid."));
}
else if(shouldHaveArg && (arg == null)){
throw (new MissingOptArgException("Option " +
c + " is missing its argument."));
}
retval = c;
}
return retval;