From 87550b7fe5ffdce83a1b55301e7bd15d09741a4a Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Mon, 21 Sep 2020 20:34:29 +1000 Subject: [PATCH] Show errors on validate --- cmd/validate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/validate.go b/cmd/validate.go index 2527168..5e3a930 100644 --- a/cmd/validate.go +++ b/cmd/validate.go @@ -15,7 +15,7 @@ yq v - # reads from stdin `, RunE: validateProperty, SilenceUsage: true, - SilenceErrors: true, + SilenceErrors: false, } cmdRead.PersistentFlags().StringVarP(&docIndex, "doc", "d", "0", "process document index number (0 based, * for all documents)") return cmdRead