[commit: ghc] master: User's guide: fix singular/plural typo in flagnames (8b5ea7c)

git at git.haskell.org git at git.haskell.org
Sun Jan 24 14:33:36 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/8b5ea7ce66647a3b918ab39fd05ad8be6a0d50b4/ghc

>---------------------------------------------------------------

commit 8b5ea7ce66647a3b918ab39fd05ad8be6a0d50b4
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sun Jan 24 15:33:48 2016 +0100

    User's guide: fix singular/plural typo in flagnames


>---------------------------------------------------------------

8b5ea7ce66647a3b918ab39fd05ad8be6a0d50b4
 utils/mkUserGuidePart/Options/Warnings.hs | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/utils/mkUserGuidePart/Options/Warnings.hs b/utils/mkUserGuidePart/Options/Warnings.hs
index a9b754d..e7c93e1 100644
--- a/utils/mkUserGuidePart/Options/Warnings.hs
+++ b/utils/mkUserGuidePart/Options/Warnings.hs
@@ -188,22 +188,22 @@ warningsOptions =
          , flagType = DynamicFlag
          , flagReverse = "-Wno-name-shadowing"
          }
-  , flag { flagName = "-Wnoncanonical-monad-instance"
+  , flag { flagName = "-Wnoncanonical-monad-instances"
          , flagDescription =
            "warn when ``Applicative`` or ``Monad`` instances have "++
            "noncanonical definitions of ``return``, ``pure``, ``(>>)``, "++
            "or ``(*>)``. "++
            "See flag description in :ref:`options-sanity` for more details."
          , flagType = DynamicFlag
-         , flagReverse = "-Wno-noncanonical-monad-instance"
+         , flagReverse = "-Wno-noncanonical-monad-instances"
          }
-  , flag { flagName = "-Wnoncanonical-monoid-instance"
+  , flag { flagName = "-Wnoncanonical-monoid-instances"
          , flagDescription =
            "warn when ``Semigroup`` or ``Monoid`` instances have "++
            "noncanonical definitions of ``(<>)`` or ``mappend``. "++
            "See flag description in :ref:`options-sanity` for more details."
          , flagType = DynamicFlag
-         , flagReverse = "-Wno-noncanonical-monoid-instance"
+         , flagReverse = "-Wno-noncanonical-monoid-instances"
          }
   , flag { flagName = "-Worphans"
          , flagDescription =



More information about the ghc-commits mailing list