Skip to content

Commit

Permalink
console: add note about typing exit to exit (#23602)
Browse files Browse the repository at this point in the history
* add explicit note about typing exit in console

* Add note about typing exit as alternative
  • Loading branch information
thadguidry committed Sep 21, 2021
1 parent b1a5e4a commit d8211c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/geth/consolecmd_test.go
Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion console/console.go
Expand Up @@ -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)
}

Expand Down

0 comments on commit d8211c7

Please sign in to comment.