command options parsing