summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2013-09-20 14:28:51 -0400
committerKrzysztof Gogolewski <krz.gogolewski@gmail.com>2013-09-22 04:08:08 +0200
commitefb9e8290f1295be7d2b9946ebd8ea6f7af09efe (patch)
treee2dad91d99a918b10abd23e4b8aeb43a808278dd /ghc
parent1320fd2e0198ccdb1aec3aab9205e5ef8661016b (diff)
downloadhaskell-efb9e8290f1295be7d2b9946ebd8ea6f7af09efe.tar.gz
Document remaining GHCi commands in users_guide (#7501)
Also a small formatting change in GHCi :help
Diffstat (limited to 'ghc')
-rw-r--r--ghc/InteractiveUI.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/InteractiveUI.hs b/ghc/InteractiveUI.hs
index f5c820ca7a..220ee17b5a 100644
--- a/ghc/InteractiveUI.hs
+++ b/ghc/InteractiveUI.hs
@@ -272,7 +272,7 @@ defFullHelpText =
" :forward go forward in the history (after :back)\n" ++
" :history [<n>] after :trace, show the execution history\n" ++
" :list show the source code around current breakpoint\n" ++
- " :list identifier show the source code for <identifier>\n" ++
+ " :list <identifier> show the source code for <identifier>\n" ++
" :list [<module>] <line> show the source code around line number <line>\n" ++
" :print [<name> ...] prints a value without forcing its computation\n" ++
" :sprint [<name> ...] simplifed version of :print\n" ++