From 5958baa1633e8fae267a22b2035158178b154ef8 Mon Sep 17 00:00:00 2001 From: WanLinghao Date: Tue, 9 Oct 2018 15:50:30 +0800 Subject: [PATCH] improve decription of command 'kubectl create clusterrole' --- pkg/kubectl/cmd/create/create_clusterrolebinding.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/kubectl/cmd/create/create_clusterrolebinding.go b/pkg/kubectl/cmd/create/create_clusterrolebinding.go index a2f77ca6ca..81a3c8f068 100644 --- a/pkg/kubectl/cmd/create/create_clusterrolebinding.go +++ b/pkg/kubectl/cmd/create/create_clusterrolebinding.go @@ -64,9 +64,9 @@ func NewCmdCreateClusterRoleBinding(f cmdutil.Factory, ioStreams genericclioptio cmdutil.AddGeneratorFlags(cmd, cmdutil.ClusterRoleBindingV1GeneratorName) cmd.Flags().String("clusterrole", "", i18n.T("ClusterRole this ClusterRoleBinding should reference")) cmd.MarkFlagCustom("clusterrole", "__kubectl_get_resource_clusterrole") - cmd.Flags().StringArray("user", []string{}, "Usernames to bind to the role") - cmd.Flags().StringArray("group", []string{}, "Groups to bind to the role") - cmd.Flags().StringArray("serviceaccount", []string{}, "Service accounts to bind to the role, in the format :") + cmd.Flags().StringArray("user", []string{}, "Usernames to bind to the clusterrole") + cmd.Flags().StringArray("group", []string{}, "Groups to bind to the clusterrole") + cmd.Flags().StringArray("serviceaccount", []string{}, "Service accounts to bind to the clusterrole, in the format :") return cmd }