mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-12 21:36:24 +00:00
Print clue for getting command prompt
This commit is contained in:
parent
1e438be0b0
commit
dfdd9b7558
@ -182,6 +182,7 @@ func (p *AttachOptions) Run() error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
glog.Fatal(err)
|
glog.Fatal(err)
|
||||||
}
|
}
|
||||||
|
fmt.Fprintln(p.Out, "\nHit enter for command prompt")
|
||||||
// this handles a clean exit, where the command finished
|
// this handles a clean exit, where the command finished
|
||||||
defer term.RestoreTerminal(inFd, oldState)
|
defer term.RestoreTerminal(inFd, oldState)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user