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
+2 -2
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://"`)
}