handling [] in parseOptions