summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-02-01 12:40:58 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-02-01 12:40:58 +0000
commit4d2b98d0d8e0a349d2448d93d8c0518045489854 (patch)
treeb915bda6969f3801a1160f17b58ecb68988cfef5 /docs
parente4fdc426413d178c86d3ba93702aad5eb17734bf (diff)
downloadhaskell-4d2b98d0d8e0a349d2448d93d8c0518045489854.tar.gz
some dynamic flags cannot be used with OPTIONS_GHC, e.g. -i, -package
fixes #1108
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/flags.xml14
-rw-r--r--docs/users_guide/using.xml5
2 files changed, 12 insertions, 7 deletions
diff --git a/docs/users_guide/flags.xml b/docs/users_guide/flags.xml
index eeb4f5dd47..9f78959f63 100644
--- a/docs/users_guide/flags.xml
+++ b/docs/users_guide/flags.xml
@@ -358,13 +358,13 @@
<entry><option>-i</option><replaceable>dir1</replaceable>:<replaceable>dir2</replaceable>:...</entry>
<entry>add <replaceable>dir</replaceable>,
<replaceable>dir2</replaceable>, etc. to import path</entry>
- <entry>dynamic</entry>
+ <entry>static/<literal>:set</literal></entry>
<entry>-</entry>
</row>
<row>
<entry><option>-i</option></entry>
<entry>Empty the import directory list</entry>
- <entry>dynamic</entry>
+ <entry>static/<literal>:set</literal></entry>
<entry>-</entry>
</row>
</tbody>
@@ -519,7 +519,7 @@
<row>
<entry><option>-package</option> <replaceable>P</replaceable></entry>
<entry>Expose package <replaceable>P</replaceable></entry>
- <entry>dynamic</entry>
+ <entry>static/<literal>:set</literal></entry>
<entry>-</entry>
</row>
<row>
@@ -531,25 +531,25 @@
<row>
<entry><option>-hide-package</option> <replaceable>name</replaceable></entry>
<entry>Hide package <replaceable>P</replaceable></entry>
- <entry>dynamic</entry>
+ <entry>static/<literal>:set</literal></entry>
<entry>-</entry>
</row>
<row>
<entry><option>-ignore-package</option> <replaceable>name</replaceable></entry>
<entry>Ignore package <replaceable>P</replaceable></entry>
- <entry>dynamic</entry>
+ <entry>static/<literal>:set</literal></entry>
<entry>-</entry>
</row>
<row>
<entry><option>-package-conf</option> <replaceable>file</replaceable></entry>
<entry>Load more packages from <replaceable>file</replaceable></entry>
- <entry>dynamic</entry>
+ <entry>static</entry>
<entry>-</entry>
</row>
<row>
<entry><option>-no-user-package-conf</option></entry>
<entry>Don't load the user's package config file.</entry>
- <entry>dynamic</entry>
+ <entry>static</entry>
<entry>-</entry>
</row>
</tbody>
diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml
index c09fa357fe..f6afa3c7e6 100644
--- a/docs/users_guide/using.xml
+++ b/docs/users_guide/using.xml
@@ -138,6 +138,11 @@ module X where
<para>The flag reference tables (<xref
linkend="flag-reference"/>) lists the status of each flag.</para>
+
+ <para>There are a few flags that are static except that they can
+ also be used with GHCi's <literal>:set</literal> command; these
+ are listed as &ldquo;static/<literal>:set</literal>&rdquo; in the
+ table.</para>
</sect1>
<sect1 id="file-suffixes">