Parse opts.