From dfdd9b75582cc55ad8f6c34abe709e1fda0c2bab Mon Sep 17 00:00:00 2001 From: feihujiang Date: Fri, 6 Nov 2015 17:04:56 +0800 Subject: [PATCH] Print clue for getting command prompt --- pkg/kubectl/cmd/attach.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/kubectl/cmd/attach.go b/pkg/kubectl/cmd/attach.go index 3294e7c1cc5..38e2da521bb 100644 --- a/pkg/kubectl/cmd/attach.go +++ b/pkg/kubectl/cmd/attach.go @@ -182,6 +182,7 @@ func (p *AttachOptions) Run() error { if err != nil { glog.Fatal(err) } + fmt.Fprintln(p.Out, "\nHit enter for command prompt") // this handles a clean exit, where the command finished defer term.RestoreTerminal(inFd, oldState)