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:
parent
fee3c269a8
commit
91f571887c
@ -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://"`)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user