fix option/argument parsing for the case where an option is missing a required argument.