Skip to content

Commit

Permalink
add suggestion to use describe to obtain container names
Browse files Browse the repository at this point in the history
  • Loading branch information
juanvallejo committed Aug 18, 2016
1 parent 1b5ba6c commit 2595e56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/cmd/cli/cmd/wrappers.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ const (

// NewCmdExec is a wrapper for the Kubernetes cli exec command
func NewCmdExec(fullName string, f *clientcmd.Factory, cmdIn io.Reader, cmdOut, cmdErr io.Writer) *cobra.Command {
cmd := kcmd.NewCmdExec(f.Factory, cmdIn, cmdOut, cmdErr)

cmd := kcmd.NewCmdExec(fullName, f.Factory, cmdIn, cmdOut, cmdErr)
cmd.Use = "exec [options] POD [-c CONTAINER] -- COMMAND [args...]"
cmd.Long = execLong
cmd.Example = fmt.Sprintf(execExample, fullName)
Expand Down

0 comments on commit 2595e56

Please sign in to comment.