Fix more documentation wibbles
[ghc.git] / utils / mkUserGuidePart / Options / Interactive.hs
1 module Options.Interactive where
2
3 import Types
4
5 interactiveOptions :: [Flag]
6 interactiveOptions =
7 [ flag { flagName = "-ignore-dot-ghci"
8 , flagDescription = "Disable reading of ``.ghci`` files"
9 , flagType = DynamicFlag
10 }
11 , flag { flagName = "-ghci-script"
12 , flagDescription = "Read additional ``.ghci`` files"
13 , flagType = DynamicFlag
14 }
15 , flag { flagName = "-fbreak-on-error"
16 , flagDescription =
17 ":ref:`Break on uncaught exceptions and errors " ++
18 "<ghci-debugger-exceptions>`"
19 , flagType = DynamicFlag
20 , flagReverse = "-fno-break-on-error"
21 }
22 , flag { flagName = "-fbreak-on-exception"
23 , flagDescription =
24 ":ref:`Break on any exception thrown <ghci-debugger-exceptions>`"
25 , flagType = DynamicFlag
26 , flagReverse = "-fno-break-on-exception"
27 }
28 , flag { flagName = "-fghci-hist-size=⟨n⟩"
29 , flagDescription =
30 "Set the number of entries GHCi keeps for ``:history``." ++
31 " See :ref:`ghci-debugger`."
32 , flagType = DynamicFlag
33 , flagReverse = ""
34 }
35 , flag { flagName = "-fprint-evld-with-show"
36 , flagDescription =
37 "Enable usage of ``Show`` instances in ``:print``. "++
38 "See :ref:`breakpoints`."
39 , flagType = DynamicFlag
40 , flagReverse = "-fno-print-evld-with-show"
41 }
42 , flag { flagName = "-fprint-bind-result"
43 , flagDescription =
44 ":ref:`Turn on printing of binding results in GHCi <ghci-stmts>`"
45 , flagType = DynamicFlag
46 , flagReverse = "-fno-print-bind-result"
47 }
48 , flag { flagName = "-fno-print-bind-contents"
49 , flagDescription =
50 ":ref:`Turn off printing of binding contents in GHCi <breakpoints>`"
51 , flagType = DynamicFlag
52 }
53 , flag { flagName = "-fno-implicit-import-qualified"
54 , flagDescription =
55 ":ref:`Turn off implicit qualified import of everything in GHCi " ++
56 "<ghci-import-qualified>`"
57 , flagType = DynamicFlag
58 }
59 , flag { flagName = "-interactive-print ⟨expr⟩"
60 , flagDescription =
61 ":ref:`Select the function to use for printing evaluated " ++
62 "expressions in GHCi <ghci-interactive-print>`"
63 , flagType = DynamicFlag
64 }
65 ]