rename -k8sversion to -kubernetes-version to stay close to kubeval

This commit is contained in:
Yann Hamon 2020-10-18 14:46:54 +02:00
parent d7dae3478d
commit a83c915a24
3 changed files with 4 additions and 4 deletions

View file

@ -223,7 +223,7 @@ func realMain() int {
var err error
var files []string
flag.StringVar(&k8sVersion, "k8sversion", "1.18.0", "version of Kubernetes to test against")
flag.StringVar(&k8sVersion, "kubernetes-version", "1.18.0", "version of Kubernetes to test against")
flag.Var(&schemaLocationsParam, "schema-location", "override schemas location search path (can be specified multiple times)")
flag.BoolVar(&ignoreMissingSchemas, "ignore-missing-schemas", false, "skip files with missing schemas instead of failing")
flag.BoolVar(&summary, "summary", false, "print a summary at the end")