Parse command line options