added validations to cli options