summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2015-11-24 12:41:44 +0100
committerBen Gamari <ben@smart-cactus.org>2015-11-24 14:02:58 +0100
commit8c5fe53b411d83279fea44f89538a7265b1275ff (patch)
tree326d6426f984b9a63741b011b0498ea70d98a152 /compiler
parente506f02dd2ff75857e975170eb1988b3c89ff190 (diff)
downloadhaskell-8c5fe53b411d83279fea44f89538a7265b1275ff.tar.gz
DynFlags: Update comments to reflect new users guide
Diffstat (limited to 'compiler')
-rw-r--r--compiler/main/DynFlags.hs13
1 files changed, 7 insertions, 6 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index f386d8d40c..39fb81a6b8 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -211,10 +211,10 @@ import GHC.Foreign (withCString, peekCString)
-- described in the User's Guide. Usually at least two sections need to be
-- updated:
--
--- * Flag Reference section in docs/users-guide/flags.xml lists all available
--- flags together with a short description
+-- * Flag Reference section generated from the modules in
+-- utils/mkUserGuidePart/Options
--
--- * Flag description in docs/users_guide/using.xml provides a detailed
+-- * Flag description in docs/users_guide/using.rst provides a detailed
-- explanation of flags' usage.
-- Note [Supporting CLI completion]
@@ -3358,8 +3358,8 @@ impliedXFlags
-- If you change the list of flags enabled for particular optimisation levels
-- please remember to update the User's Guide. The relevant files are:
--
--- * docs/users_guide/flags.xml
--- * docs/users_guide/using.xml
+-- * utils/mkUserGuidePart/Options/
+-- * docs/users_guide/using.rst
--
-- The first contains the Flag Refrence section, which breifly lists all
-- available flags. The second contains a detailed description of the
@@ -3416,7 +3416,8 @@ optLevelFlags -- see Note [Documenting optimisation flags]
-- If you change the list of warning enabled by default
-- please remember to update the User's Guide. The relevant file is:
--
--- * docs/users_guide/using.xml
+-- * utils/mkUserGuidePart/
+-- * docs/users_guide/using.rst
-- | Warnings enabled unless specified otherwise
standardWarnings :: [WarningFlag]