on master help sign in
Sort extensions that should be manually enabled
commit10232b9c86f1974a8bf9234076a0f4e0fc0845af authormrkkrp <mark.karpov@tweag.io> dateMon 2 Sep 2019, 17:10 (7 years ago) parent607ef53
1 file changed+2−2
app/Main.hs+2−2
app/Main.hs+2−2
@@ -6,7 +6,7 @@
66module Main (main) where
77
88import Control.Monad
9−import Data.List (intercalate)
9+import Data.List (intercalate, sort)
1010import Data.Version (showVersion)
1111import Development.GitRev
1212import Options.Applicative
@@ -109,7 +109,7 @@ optsParserInfo = info (helper <*> ver <*> exts <*> optsParser) . mconcat $
109109 [ long "manual-exts"
110110 , help "Display extensions that need to be enabled manually"
111111 ]
112− displayExts = unlines (showOutputable <$> manualExts)
112+ displayExts = unlines $ sort (showOutputable <$> manualExts)
113113
114114optsParser :: Parser Opts
115115optsParser = Opts