Cmdline options handling