summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
authorTakenobu Tani <takenobu.hs@gmail.com>2020-05-09 11:25:17 +0900
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-05-13 20:07:37 -0400
commita951e1bab3dfd3e9de31b0d8bf5699a9216b181d (patch)
treee19b3e63ffaeaa373b6305ad95920029d1c44058 /ghc
parent1a93ea57355d521b92daf4e3120de88a1f94deee (diff)
downloadhaskell-a951e1bab3dfd3e9de31b0d8bf5699a9216b181d.tar.gz
GHCi: Add link to the user's guide in help message
This commit adds a link to the user's guide in ghci's `:help` message. Newcomers could easily reach to details of ghci.
Diffstat (limited to 'ghc')
-rw-r--r--ghc/GHCi/UI.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/ghc/GHCi/UI.hs b/ghc/GHCi/UI.hs
index 6e4bc40afd..e3ebeaf2d2 100644
--- a/ghc/GHCi/UI.hs
+++ b/ghc/GHCi/UI.hs
@@ -403,6 +403,10 @@ defFullHelpText =
" :show <setting> show value of <setting>, which is one of\n" ++
" [args, prog, editor, stop]\n" ++
" :showi language show language flags for interactive evaluation\n" ++
+ "\n" ++
+ " The User's Guide has more information. An online copy can be found here:\n" ++
+ "\n" ++
+ " https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/ghci.html\n" ++
"\n"
findEditor :: IO String