Skip to content

Commit

Permalink
Merge pull request kubernetes#77589 from soltysh/fix_exec_use
Browse files Browse the repository at this point in the history
Update kubectl exec use to put flags in the right place
  • Loading branch information
k8s-ci-robot authored May 14, 2019
2 parents a1eaacd + c1cd89f commit 7446929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kubectl/cmd/exec/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func NewCmdExec(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.C
Executor: &DefaultRemoteExecutor{},
}
cmd := &cobra.Command{
Use: "exec (POD | TYPE/NAME) [-c CONTAINER] -- COMMAND [args...]",
Use: "exec (POD | TYPE/NAME) [-c CONTAINER] [flags] -- COMMAND [args...]",
DisableFlagsInUseLine: true,
Short: i18n.T("Execute a command in a container"),
Long: "Execute a command in a container.",
Expand Down

0 comments on commit 7446929

Please sign in to comment.