File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ library haskell-ci-internal
158158 , ini ^>= 0.4.1
159159 , lattices ^>= 2
160160 , network-uri ^>= 2.6.1.0
161- , optparse-applicative ^>= 0.16
161+ , optparse-applicative ^>= 0.16.1.0
162162 , temporary ^>= 1.3
163163 , unordered-containers ^>= 0.2.10.0
164164 , zinza ^>= 0.2
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ import qualified HaskellCI.Bash.Template as Bash
7777main :: IO ()
7878main = do
7979 argv0 <- getArgs
80- (cmd, opts) <- O. execParser cliParserInfo
80+ (cmd, opts) <- O. customExecParser ( O. prefs O. subparserInline) cliParserInfo
8181 case cmd of
8282 CommandListGHC -> do
8383 putStrLn $ " Supported GHC versions:"
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ parseOptions argv = case res of
143143 (help, _) -> hPutStrLn stderr help >> exitFailure
144144 O. CompletionInvoked _ -> exitFailure -- unexpected
145145 where
146- res = O. execParserPure (O. prefs mempty ) cliParserInfo argv
146+ res = O. execParserPure (O. prefs O. subparserInline ) cliParserInfo argv
147147
148148 fromCmd :: Command -> IO FilePath
149149 fromCmd (CommandTravis fp) = return fp
You can’t perform that action at this time.
0 commit comments