From 41d215c848a9334107519605e01ad371248a5e92 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sun, 27 Apr 2008 19:00:49 +0000 Subject: [PATCH] Add :list to ghci's :? help; fixes trac #2217 --- compiler/ghci/InteractiveUI.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compiler/ghci/InteractiveUI.hs b/compiler/ghci/InteractiveUI.hs index fc2f7b4..ca4a20e 100644 --- a/compiler/ghci/InteractiveUI.hs +++ b/compiler/ghci/InteractiveUI.hs @@ -229,6 +229,9 @@ helpText = " :force print , forcing unevaluated parts\n" ++ " :forward go forward in the history (after :back)\n" ++ " :history [] after :trace, show the execution history\n" ++ + " :list show the source code around current breakpoint\n" ++ + " :list identifier show the source code for \n" ++ + " :list [] show the source code around line number \n" ++ " :print [ ...] prints a value without forcing its computation\n" ++ " :sprint [ ...] simplifed version of :print\n" ++ " :step single-step after stopping at a breakpoint\n"++ -- 1.7.10.4