finished cmdline option parser