summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2016-01-19 00:07:47 +0100
committerBen Gamari <ben@smart-cactus.org>2016-01-19 00:07:52 +0100
commitaff51af1d747f88a140f435882efcd46b47b50af (patch)
tree50c0f2f0528e06eb800369d0b7aa3077932df2df /utils
parent38666bda4517856eae3228c2119a97c32aa3fc40 (diff)
downloadhaskell-aff51af1d747f88a140f435882efcd46b47b50af.tar.gz
users-guide: Begin documenting --frontend
Reviewers: austin Subscribers: thomie, ezyang Differential Revision: https://phabricator.haskell.org/D1793 GHC Trac Issues: #11448
Diffstat (limited to 'utils')
-rw-r--r--utils/mkUserGuidePart/Options/Modes.hs8
1 files changed, 7 insertions, 1 deletions
diff --git a/utils/mkUserGuidePart/Options/Modes.hs b/utils/mkUserGuidePart/Options/Modes.hs
index 57aaef26f2..792ee9f02e 100644
--- a/utils/mkUserGuidePart/Options/Modes.hs
+++ b/utils/mkUserGuidePart/Options/Modes.hs
@@ -32,10 +32,16 @@ modeOptions =
}
, flag { flagName = "-M"
, flagDescription =
- "denerate dependency information suitable for use in a "++
+ "generate dependency information suitable for use in a "++
"``Makefile``; see :ref:`makefile-dependencies` for details."
, flagType = ModeFlag
}
+ , flag { flagName = "--frontend ⟨module⟩"
+ , flagDescription =
+ "run GHC with the given frontend plugin; see "++
+ ":ref:`frontend_plugins` for details."
+ , flagType = ModeFlag
+ }
, flag { flagName = "--supported-extensions, --supported-languages"
, flagDescription = "display the supported language extensions"
, flagType = ModeFlag