summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-11-28 19:17:06 +0000
committerIan Lynagh <igloo@earth.li>2008-11-28 19:17:06 +0000
commitdacc1aa41699ee6c8f4c49ef6061c95ea5e70017 (patch)
treebdc810902ccd97a532436bf1c1f46259a34db6df /docs
parent9a4607c35c107bca78f08f7e57896044c66118be (diff)
downloadhaskell-dacc1aa41699ee6c8f4c49ef6061c95ea5e70017.tar.gz
Teach runghc about --help; fixes trac #2757
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/runghc.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/users_guide/runghc.xml b/docs/users_guide/runghc.xml
index 4a6640c708..ec55a4311e 100644
--- a/docs/users_guide/runghc.xml
+++ b/docs/users_guide/runghc.xml
@@ -13,16 +13,17 @@
<screen>
runghc [runghc flags] [GHC flags] module [program args]
</screen>
- <para>The only runghc flag currently is
+ <para>The runghc flags are
<literal>-f /path/to/ghc</literal>,
- which tells runghc which GHC to use to run the program. If it is
+ which tells runghc which GHC to use to run the program,
+ and <literal>--help</literal>, which prints usage information. If it is
not given then runghc will search for GHC in the directories in the
system search path.</para>
<para>runghc will try to work out where the boundaries between
<literal>[runghc flags]</literal> and
<literal>[GHC flags]</literal>, and
- <literal>[GHC flags]</literal> and
+ <literal>[program args]</literal> and
<literal>module</literal> are, but you can use a
<literal>--</literal> flag if it doesn't get it right. For example,
<literal>runghc -- -fglasgow-exts Foo</literal> means runghc