[Git][ghc/ghc][master] haddock: fix verbosity option parsing

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Thu May 23 11:21:57 UTC 2024



Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
00126a89 by Andrei Borzenkov at 2024-05-23T07:21:24-04:00
haddock: fix verbosity option parsing

- - - - -


1 changed file:

- utils/haddock/haddock-api/src/Haddock/Utils.hs


Changes:

=====================================
utils/haddock/haddock-api/src/Haddock/Utils.hs
=====================================
@@ -111,7 +111,7 @@ deafening = Deafening
 parseVerbosity :: String -> Either String Verbosity
 parseVerbosity "0" = Right Silent
 parseVerbosity "1" = Right Normal
-parseVerbosity "2" = Right Silent
+parseVerbosity "2" = Right Verbose
 parseVerbosity "3" = Right Deafening
 parseVerbosity "silent" = return Silent
 parseVerbosity "normal" = return Normal



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/00126a89da90ecef405f80644ee6f746f5a94fc3

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/00126a89da90ecef405f80644ee6f746f5a94fc3
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240523/891bcc42/attachment.html>


More information about the ghc-commits mailing list