1
0
mirror of https://github.com/ko-build/ko.git synced 2024-12-12 08:54:09 +02:00

Make callers type out all of --strict

This commit is contained in:
Jason Hall 2019-08-15 21:44:56 -04:00
parent fee3c269a8
commit 91f571887c

View File

@ -24,6 +24,6 @@ type StrictOptions struct {
}
func AddStrictArg(cmd *cobra.Command, so *StrictOptions) {
cmd.Flags().BoolVarP(&so.Strict, "strict", "S", so.Strict,
"If true, require package references to be explicitly noted")
cmd.Flags().BoolVarP(&so.Strict, "strict", "", so.Strict,
`If true, require package references to be explicitly prefixed with "ko://"`)
}