summaryrefslogtreecommitdiff
path: root/utils/mkUserGuidePart/Options/Misc.hs
blob: f1d43368067b8e11e96b64cb586520e6211b46aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
module Options.Misc where

import Types

miscOptions :: [Flag]
miscOptions =
  [ flag { flagName = "-j[⟨n⟩]"
         , flagDescription =
           "When compiling with :ghc-flag:`--make`, compile ⟨n⟩ modules" ++
           " in parallel."
         , flagType = DynamicFlag
         }
  , flag { flagName = "-fno-hi-version-check"
         , flagDescription = "Don't complain about ``.hi`` file mismatches"
         , flagType = DynamicFlag
         }
  , flag { flagName = "-fhistory-size"
         , flagDescription = "Set simplification history size"
         , flagType = DynamicFlag
         }
  , flag { flagName = "-fno-ghci-history"
         , flagDescription =
           "Do not use the load/store the GHCi command history from/to "++
           "``ghci_history``."
         , flagType = DynamicFlag
         }
  , flag { flagName = "-fno-ghci-sandbox"
         , flagDescription =
           "Turn off the GHCi sandbox. Means computations are run in "++
           "the main thread, rather than a forked thread."
         , flagType = DynamicFlag
         }
  , flag { flagName = "-flocal-ghci-history"
         , flagDescription =
           "Use current directory for the GHCi command history "++
           "file ``.ghci-history``."
         , flagType = DynamicFlag
         , flagReverse = "-fno-local-ghci-history"
         }
  ]