console: add note about typing exit to exit (#23602)
* add explicit note about typing exit in console * Add note about typing exit as alternative
This commit is contained in:
parent
b1a5e4afdd
commit
d8211c7ec7
|
@ -75,7 +75,7 @@ at block: 0 ({{niltime}})
|
||||||
datadir: {{.Datadir}}
|
datadir: {{.Datadir}}
|
||||||
modules: {{apis}}
|
modules: {{apis}}
|
||||||
|
|
||||||
To exit, press ctrl-d
|
To exit, press ctrl-d or type exit
|
||||||
> {{.InputLine "exit"}}
|
> {{.InputLine "exit"}}
|
||||||
`)
|
`)
|
||||||
geth.ExpectExit()
|
geth.ExpectExit()
|
||||||
|
@ -149,7 +149,7 @@ at block: 0 ({{niltime}}){{if ipc}}
|
||||||
datadir: {{datadir}}{{end}}
|
datadir: {{datadir}}{{end}}
|
||||||
modules: {{apis}}
|
modules: {{apis}}
|
||||||
|
|
||||||
To exit, press ctrl-d
|
To exit, press ctrl-d or type exit
|
||||||
> {{.InputLine "exit" }}
|
> {{.InputLine "exit" }}
|
||||||
`)
|
`)
|
||||||
attach.ExpectExit()
|
attach.ExpectExit()
|
||||||
|
|
|
@ -324,7 +324,7 @@ func (c *Console) Welcome() {
|
||||||
sort.Strings(modules)
|
sort.Strings(modules)
|
||||||
message += " modules: " + strings.Join(modules, " ") + "\n"
|
message += " modules: " + strings.Join(modules, " ") + "\n"
|
||||||
}
|
}
|
||||||
message += "\nTo exit, press ctrl-d"
|
message += "\nTo exit, press ctrl-d or type exit"
|
||||||
fmt.Fprintln(c.printer, message)
|
fmt.Fprintln(c.printer, message)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue