fix docstring for parse_options, check mid vs None