forked from cerc-io/plugeth
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}}
|
||||
modules: {{apis}}
|
||||
|
||||
To exit, press ctrl-d
|
||||
To exit, press ctrl-d or type exit
|
||||
> {{.InputLine "exit"}}
|
||||
`)
|
||||
geth.ExpectExit()
|
||||
@ -149,7 +149,7 @@ at block: 0 ({{niltime}}){{if ipc}}
|
||||
datadir: {{datadir}}{{end}}
|
||||
modules: {{apis}}
|
||||
|
||||
To exit, press ctrl-d
|
||||
To exit, press ctrl-d or type exit
|
||||
> {{.InputLine "exit" }}
|
||||
`)
|
||||
attach.ExpectExit()
|
||||
|
@ -324,7 +324,7 @@ func (c *Console) Welcome() {
|
||||
sort.Strings(modules)
|
||||
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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user