Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
6a250480
Commit
6a250480
authored
Apr 18, 2007
by
Simon Marlow
Browse files
update the help text
parent
3c8e76dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/ghci/InteractiveUI.hs
View file @
6a250480
...
...
@@ -147,24 +147,32 @@ keepGoingPaths a str = a (toArgs str) >> return False
shortHelpText
=
"use :? for help.
\n
"
-- NOTE: spaces at the end of each line to workaround CPP/string gap bug.
helpText
=
" Commands available from the prompt:
\n
"
++
"
\n
"
++
" <stmt> evaluate/run <stmt>
\n
"
++
" :add <filename> ... add module(s) to the current target set
\n
"
++
" :break [<mod>] <l> [<col>] set a breakpoint at the specified location
\n
"
++
" :break <name> set a breakpoint on the specified function
\n
"
++
" :browse [*]<module> display the names defined by <module>
\n
"
++
" :cd <dir> change directory to <dir>
\n
"
++
" :continue resume after a breakpoint
\n
"
++
" :ctags [<file>] create tags file for Vi (default:
\"
tags
\"
)
\n
"
++
" :def <cmd> <expr> define a command :<cmd>
\n
"
++
" :delete <number> delete the specified breakpoint
\n
"
++
" :delete * delete all breakpoints
\n
"
++
" :edit <file> edit file
\n
"
++
" :edit edit last module
\n
"
++
" :etags [<file>] create tags file for Emacs (default:
\"
TAGS
\"
)
\n
"
++
-- " :force <expr> print <expr>, forcing unevaluated parts\n" ++
" :help, :? display this list of commands
\n
"
++
" :info [<name> ...] display information about the given names
\n
"
++
" :print [<name> ...] prints a value without forcing its computation
\n
"
++
" :sprint [<name> ...] simplified version of :print
\n
"
++
" :kind <type> show the kind of <type>
\n
"
++
" :load <filename> ... load module(s) and their dependents
\n
"
++
" :module [+/-] [*]<mod> ... set the context for expression evaluation
\n
"
++
" :main [<arguments> ...] run the main function with the given arguments
\n
"
++
" :print [<name> ...] prints a value without forcing its computation
\n
"
++
" :quit exit GHCi
\n
"
++
" :reload reload the current module set
\n
"
++
"
\n
"
++
" :set <option> ... set options
\n
"
++
...
...
@@ -173,16 +181,17 @@ helpText =
" :set prompt <prompt> set the prompt used in GHCi
\n
"
++
" :set editor <cmd> set the command used for :edit
\n
"
++
"
\n
"
++
" :show breaks show active breakpoints
\n
"
++
" :show context show the breakpoint context
\n
"
++
" :show modules show the currently loaded modules
\n
"
++
" :show bindings show the current bindings made at the prompt
\n
"
++
"
\n
"
++
" :ctags [<file>] create tags file for Vi (default:
\"
tags
\"
)
\n
"
++
" :etags [<file>] create tags file for Emacs (default:
\"
TAGS
\"
)
\n
"
++
" :sprint [<name> ...] simplifed version of :print
\n
"
++
" :step single-step after stopping at a breakpoint
\n
"
++
" :step <expr> single-step into <expr>
\n
"
++
" :type <expr> show the type of <expr>
\n
"
++
" :kind <type> show the kind of <type>
\n
"
++
" :undef <cmd> undefine user-defined command :<cmd>
\n
"
++
" :unset <option> ... unset options
\n
"
++
" :quit exit GHCi
\n
"
++
" :!<command> run the shell command <command>
\n
"
++
"
\n
"
++
" Options for ':set' and ':unset':
\n
"
++
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment