summaryrefslogtreecommitdiff
path: root/utils/mkUserGuidePart/Options/Verbosity.hs
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2017-08-24 12:49:06 -0400
committerBen Gamari <ben@smart-cactus.org>2017-08-25 17:23:49 -0400
commit8f19c65c66e38709a8acba8f86015053d2c04126 (patch)
tree23896a094ccdccd4f9531afc79ae2921ed382421 /utils/mkUserGuidePart/Options/Verbosity.hs
parent76e59a270118080d61e0c272011d318c68790951 (diff)
downloadhaskell-8f19c65c66e38709a8acba8f86015053d2c04126.tar.gz
Rip out mkUserGuidePart
Reviewers: austin, hvr Subscribers: rwbarton, thomie, erikd Differential Revision: https://phabricator.haskell.org/D3886
Diffstat (limited to 'utils/mkUserGuidePart/Options/Verbosity.hs')
-rw-r--r--utils/mkUserGuidePart/Options/Verbosity.hs88
1 files changed, 0 insertions, 88 deletions
diff --git a/utils/mkUserGuidePart/Options/Verbosity.hs b/utils/mkUserGuidePart/Options/Verbosity.hs
deleted file mode 100644
index aa608769b7..0000000000
--- a/utils/mkUserGuidePart/Options/Verbosity.hs
+++ /dev/null
@@ -1,88 +0,0 @@
-module Options.Verbosity where
-
-import Types
-
-verbosityOptions :: [Flag]
-verbosityOptions =
- [ flag { flagName = "-v"
- , flagDescription = "verbose mode (equivalent to ``-v3``)"
- , flagType = DynamicFlag
- }
- , flag { flagName = "-v ⟨n⟩"
- , flagDescription = "set verbosity level"
- , flagType = DynamicFlag
- , flagReverse = ""
- }
- , flag { flagName = "-fhide-source-paths"
- , flagDescription = "hide module source and object paths"
- , flagType = DynamicFlag
- , flagReverse = ""
- }
- , flag { flagName = "-fprint-potential-instances"
- , flagDescription =
- "display all available instances in type error messages"
- , flagType = DynamicFlag
- , flagReverse = "-fno-print-potential-instances"
- }
- , flag { flagName = "-fprint-explicit-foralls"
- , flagDescription =
- "Print explicit ``forall`` quantification in types. " ++
- "See also :ghc-flag:`-XExplicitForAll`"
- , flagType = DynamicFlag
- , flagReverse = "-fno-print-explicit-foralls"
- }
- , flag { flagName = "-fprint-explicit-kinds"
- , flagDescription =
- "Print explicit kind foralls and kind arguments in types. " ++
- "See also :ghc-flag:`-XKindSignatures`"
- , flagType = DynamicFlag
- , flagReverse = "-fno-print-explicit-kinds"
- }
- , flag { flagName = "-fprint-explicit-runtime-reps"
- , flagDescription =
- "Print ``RuntimeRep`` variables in types which are "++
- "runtime-representation polymorphic."
- , flagType = DynamicFlag
- , flagReverse = "-fno-print-explicit-runtime-reps"
- }
- , flag { flagName = "-fprint-unicode-syntax"
- , flagDescription =
- "Use unicode syntax when printing expressions, types and kinds. " ++
- "See also :ghc-flag:`-XUnicodeSyntax`"
- , flagType = DynamicFlag
- , flagReverse = "-fno-print-unicode-syntax"
- }
- , flag { flagName = "-fprint-expanded-synonyms"
- , flagDescription =
- "In type errors, also print type-synonym-expanded types."
- , flagType = DynamicFlag
- , flagReverse = "-fno-print-expanded-synonyms"
- }
- , flag { flagName = "-fprint-typechecker-elaboration"
- , flagDescription =
- "Print extra information from typechecker."
- , flagType = DynamicFlag
- , flagReverse = "-fno-print-typechecker-elaboration"
- }
- , flag { flagName = "-fdiagnostics-color=(always|auto|never)"
- , flagDescription = "Use colors in error messages"
- , flagType = DynamicFlag
- }
- , flag { flagName = "-f[no-]diagnostics-show-caret"
- , flagDescription = "Whether to show snippets of original source code"
- , flagType = DynamicFlag
- }
- , flag { flagName = "-ferror-spans"
- , flagDescription = "Output full span in error messages"
- , flagType = DynamicFlag
- }
- , flag { flagName = "-Rghc-timing"
- , flagDescription =
- "Summarise timing stats for GHC (same as ``+RTS -tstderr``)."
- , flagType = DynamicFlag
- }
- , flag { flagName = "-fshow-hole-constraints"
- , flagDescription = "Show constraints when reporting typed holes"
- , flagType = DynamicFlag
- }
- ]