Read options from commandline.