From f3c703d6556fcc136ef116ff15d3761e5d368f3b Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Mon, 11 Jul 2022 15:55:04 +0200 Subject: [PATCH] Support hls in 'ghcup changelog' --- app/ghcup/GHCup/OptParse/ChangeLog.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/ghcup/GHCup/OptParse/ChangeLog.hs b/app/ghcup/GHCup/OptParse/ChangeLog.hs index 652d850..09af975 100644 --- a/app/ghcup/GHCup/OptParse/ChangeLog.hs +++ b/app/ghcup/GHCup/OptParse/ChangeLog.hs @@ -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 "" <> help + (short 't' <> long "tool" <> metavar "" <> help "Open changelog for given tool (default: ghc)" <> completer toolCompleter )