Show errors on validate

This commit is contained in:
Mike Farah 2020-09-21 20:34:29 +10:00
parent 5554301c29
commit 87550b7fe5
1 changed files with 1 additions and 1 deletions

View File

@ -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