Option parsing.