validate profile option in CLI