Support hls in 'ghcup changelog'

This commit is contained in:
Julian Ospald 2022-07-11 15:55:04 +02:00
parent b6ff5bc764
commit f3c703d655
Signed by: hasufell
GPG Key ID: 3786C5262ECB4A3F

View File

@ -71,10 +71,11 @@ changelogP =
"cabal" -> Right Cabal
"ghcup" -> Right GHCup
"stack" -> Right Stack
"hls" -> Right HLS
e -> Left e
)
)
(short 't' <> long "tool" <> metavar "<ghc|cabal|ghcup>" <> help
(short 't' <> long "tool" <> metavar "<ghc|cabal|hls|ghcup>" <> help
"Open changelog for given tool (default: ghc)"
<> completer toolCompleter
)