diff --git a/stdlib/REPL/src/REPLCompletions.jl b/stdlib/REPL/src/REPLCompletions.jl index 77d5d87e41b8c..9f66f8f3ea900 100644 --- a/stdlib/REPL/src/REPLCompletions.jl +++ b/stdlib/REPL/src/REPLCompletions.jl @@ -911,6 +911,8 @@ function UndefVarError_hint(io::IO, ex::UndefVarError) println(io) # Show friendly help message when user types help or help() and help is undefined show(io, MIME("text/plain"), Base.Docs.parsedoc(Base.Docs.keywords[:help])) + elseif var === :quit + print(io, "\nsuggestion: To exit Julia, use Ctrl-D, or type exit() and press enter.") end end