Changing annotate PrintFlags from annotate to annotated

This commit is contained in:
adil ghaffar 2023-05-16 14:39:15 +03:00
parent 31d0821ab4
commit d6e488b998
No known key found for this signature in database
GPG Key ID: DE3A415A4279FB36

View File

@ -70,7 +70,7 @@ type AnnotateFlags struct {
// NewAnnotateFlags returns a default AnnotateFlags
func NewAnnotateFlags(streams genericiooptions.IOStreams) *AnnotateFlags {
return &AnnotateFlags{
PrintFlags: genericclioptions.NewPrintFlags("annotate").WithTypeSetter(scheme.Scheme),
PrintFlags: genericclioptions.NewPrintFlags("annotated").WithTypeSetter(scheme.Scheme),
RecordFlags: genericclioptions.NewRecordFlags(),
IOStreams: streams,
}