added a validate only flag --validate