Merge pull request #119303 from abidmunirmalik/kubectl_doc_fix
fixes the issue in the documentation of kubectl events Kubernetes-commit: 0b63390addcb372b5f7d0a7f9fd28e0758e5684d
This commit is contained in:
commit
654e18cb7b
|
@ -121,7 +121,7 @@ func NewCmdEvents(restClientGetter genericclioptions.RESTClientGetter, streams g
|
|||
flags := NewEventsFlags(restClientGetter, streams)
|
||||
|
||||
cmd := &cobra.Command{
|
||||
Use: fmt.Sprintf("events [(-o|--output=)%s] [--for TYPE/NAME] [--watch] [--event=Normal,Warning]", strings.Join(flags.PrintFlags.AllowedFormats(), "|")),
|
||||
Use: fmt.Sprintf("events [(-o|--output=)%s] [--for TYPE/NAME] [--watch] [--types=Normal,Warning]", strings.Join(flags.PrintFlags.AllowedFormats(), "|")),
|
||||
DisableFlagsInUseLine: true,
|
||||
Short: i18n.T("List events"),
|
||||
Long: eventsLong,
|
||||
|
|
Loading…
Reference in New Issue