1
0
mirror of https://github.com/taigrr/yq synced 2025-01-18 04:53:17 -08:00

Show errors on validate

This commit is contained in:
Mike Farah 2020-09-21 20:34:29 +10:00
parent 5554301c29
commit 87550b7fe5

View File

@ -15,7 +15,7 @@ yq v - # reads from stdin
`, `,
RunE: validateProperty, RunE: validateProperty,
SilenceUsage: true, SilenceUsage: true,
SilenceErrors: true, SilenceErrors: false,
} }
cmdRead.PersistentFlags().StringVarP(&docIndex, "doc", "d", "0", "process document index number (0 based, * for all documents)") cmdRead.PersistentFlags().StringVarP(&docIndex, "doc", "d", "0", "process document index number (0 based, * for all documents)")
return cmdRead return cmdRead