Commit 90f0a9c2 authored by Ian Lynagh's avatar Ian Lynagh

Remove some cruft from StaticFlagParser

Also, -read-dot-ghci is now gone. We now have -no-ignore-dot-ghci
instead.
parent 7ecb40e8
......@@ -103,12 +103,8 @@ static_flags :: [Flag IO]
-- flags further down the list with the same prefix.
static_flags = [
------- GHCi -------------------------------------------------------
Flag "ignore-dot-ghci" (PassFlag addOpt)
, Flag "read-dot-ghci" (NoArg (removeOpt "-ignore-dot-ghci"))
------- ways --------------------------------------------------------
, Flag "prof" (NoArg (addWay WayProf))
Flag "prof" (NoArg (addWay WayProf))
, Flag "eventlog" (NoArg (addWay WayEventLog))
, Flag "parallel" (NoArg (addWay WayPar))
, Flag "gransim" (NoArg (addWay WayGran))
......@@ -123,9 +119,6 @@ static_flags = [
------ Debugging ----------------------------------------------------
, Flag "dppr-debug" (PassFlag addOpt)
, Flag "dppr-cols" (AnySuffix addOpt)
, Flag "dppr-user-length" (AnySuffix addOpt)
, Flag "dppr-case-as-let" (PassFlag addOpt)
, Flag "dsuppress-all" (PassFlag addOpt)
, Flag "dsuppress-uniques" (PassFlag addOpt)
, Flag "dsuppress-coercions" (PassFlag addOpt)
......@@ -135,7 +128,6 @@ static_flags = [
, Flag "dsuppress-var-kinds" (PassFlag addOpt)
, Flag "dsuppress-type-signatures" (PassFlag addOpt)
, Flag "dopt-fuel" (AnySuffix addOpt)
, Flag "dtrace-level" (AnySuffix addOpt)
, Flag "dno-debug-output" (PassFlag addOpt)
, Flag "dstub-dead-values" (PassFlag addOpt)
-- rest of the debugging flags are dynamic
......@@ -178,7 +170,6 @@ isStaticFlag f =
"fscc-profiling",
"fdicts-strict",
"fspec-inline-join-points",
"firrefutable-tuples",
"fparallel",
"fgransim",
"fno-hi-version-check",
......
......@@ -498,12 +498,6 @@
<entry>dynamic</entry>
<entry>-</entry>
</row>
<row>
<entry><option>-read-dot-ghci</option></entry>
<entry>Enable reading of <filename>.ghci</filename> files</entry>
<entry>static</entry>
<entry>-</entry>
</row>
<row>
<entry><option>-fbreak-on-exception</option></entry>
<entry><link linkend="ghci-debugger-exceptions">Break on any exception thrown</link></entry>
......
......@@ -3124,17 +3124,6 @@ warning settings:
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-read-dot-ghci</option>
<indexterm><primary><option>-read-dot-ghci</option></primary></indexterm>
</term>
<listitem>
<para>Read <filename>./.ghci</filename> and the other
startup files (see above). This is normally the
default, but the <option>-read-dot-ghci</option> option may
be used to override a previous
<option>-ignore-dot-ghci</option> option.</para>
</listitem>
<term>
<option>-ghci-script</option>
<indexterm><primary><option>-ghci-script</option></primary></indexterm>
......
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