diff options
| author | Ben Gamari <ben@smart-cactus.org> | 2015-10-01 01:08:41 +0200 |
|---|---|---|
| committer | Ben Gamari <ben@smart-cactus.org> | 2015-10-03 09:44:48 +0200 |
| commit | 4fd6207ec6960c429e6a1bcbe0282f625010f52a (patch) | |
| tree | 26e1f43199fbde80f26225f7409b5c00ce8792a9 /utils/mkUserGuidePart/Options/Plugin.hs | |
| parent | 9ed700bb4128b1cbf59d99d725c44d7a0bfb1de6 (diff) | |
| download | haskell-4fd6207ec6960c429e6a1bcbe0282f625010f52a.tar.gz | |
Move user's guide to ReStructuredText
Diffstat (limited to 'utils/mkUserGuidePart/Options/Plugin.hs')
| -rw-r--r-- | utils/mkUserGuidePart/Options/Plugin.hs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/utils/mkUserGuidePart/Options/Plugin.hs b/utils/mkUserGuidePart/Options/Plugin.hs new file mode 100644 index 0000000000..1ae7d6e536 --- /dev/null +++ b/utils/mkUserGuidePart/Options/Plugin.hs @@ -0,0 +1,17 @@ +module Options.Plugin where + +import Types + +pluginOptions :: [Flag] +pluginOptions = + [ flag { flagName = "-fplugin=⟨module⟩" + , flagDescription = "Load a plugin exported by a given module" + , flagType = DynamicFlag + } + , flag { flagName = "-fplugin-opt=⟨module:args⟩" + , flagDescription = + "Give arguments to a plugin module; module must be specified with "++ + "``-fplugin``" + , flagType = DynamicFlag + } + ] |
