diff --git a/stdlib/REPL/src/REPLCompletions.jl b/stdlib/REPL/src/REPLCompletions.jl index 6c0a7b0a87186..98bd6f61f38df 100644 --- a/stdlib/REPL/src/REPLCompletions.jl +++ b/stdlib/REPL/src/REPLCompletions.jl @@ -831,6 +831,10 @@ function UndefVarError_hint(io::IO, ex::UndefVarError) print(io, "\nsuggestion: Use `||` for short-circuiting boolean OR.") elseif var === :and print(io, "\nsuggestion: Use `&&` for short-circuiting boolean AND.") + elseif var === :help + 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])) end end