on master help sign in
Sort extensions that should be manually enabled
10232b9mrkkrp
app/Main.hs+2−2
@@ -6,7 +6,7 @@
6module Main (main) where
6module Main (main) where
7
7
8import Control.Monad
8import Control.Monad
9−import Data.List (intercalate)
9+import Data.List (intercalate, sort)
10import Data.Version (showVersion)
10import Data.Version (showVersion)
11import Development.GitRev
11import Development.GitRev
12import Options.Applicative
12import Options.Applicative
@@ -109,7 +109,7 @@ optsParserInfo = info (helper <*> ver <*> exts <*> optsParser) . mconcat $
109 [ long "manual-exts"
109 [ long "manual-exts"
110 , help "Display extensions that need to be enabled manually"
110 , help "Display extensions that need to be enabled manually"
111 ]
111 ]
112− displayExts = unlines (showOutputable <$> manualExts)
112+ displayExts = unlines $ sort (showOutputable <$> manualExts)
113
113
114optsParser :: Parser Opts
114optsParser :: Parser Opts
115optsParser = Opts
115optsParser = Opts