[commit: ghc] ghc-8.0: User's guide: fix singular/plural typo in flagnames (a11e9a6)

git at git.haskell.org git at git.haskell.org
Sun Jan 24 14:34:59 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/a11e9a682a363e35618eee95a81d7f3554256933/ghc

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

commit a11e9a682a363e35618eee95a81d7f3554256933
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
    
    (cherry picked from commit 8b5ea7ce66647a3b918ab39fd05ad8be6a0d50b4)


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

a11e9a682a363e35618eee95a81d7f3554256933
 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 c775af4..8cb4655 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