mirror of
https://github.com/mikefarah/yq.git
synced 2025-01-14 04:25:36 +00:00
Show errors on validate
This commit is contained in:
parent
5554301c29
commit
87550b7fe5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user