Commit 4d2b98d0 authored by Simon Marlow's avatar Simon Marlow
Browse files

some dynamic flags cannot be used with OPTIONS_GHC, e.g. -i, -package

fixes #1108
parent e4fdc426
......@@ -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>
......
......@@ -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">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment