wai-app-static 2.0.1 → 2.0.1.1
raw patch · 2 files changed
+8/−2 lines, 2 filesdep ~optparse-applicative
Dependency ranges changed: optparse-applicative
Files
- WaiAppStatic/CmdLine.hs +7/−1
- wai-app-static.cabal +1/−1
WaiAppStatic/CmdLine.hs view
@@ -38,6 +38,12 @@ , host :: String } +#if MIN_VERSION_optparse_applicative(0, 10, 0)+option' = option auto+#else+option' = option+#endif+ args :: Parser Args args = Args <$> strOption@@ -52,7 +58,7 @@ <> metavar "INDEX" <> help "index files to serve when a directory is required" )))- <*> option+ <*> option' ( long "port" <> short 'p' <> metavar "PORT"
wai-app-static.cabal view
@@ -1,5 +1,5 @@ name: wai-app-static-version: 2.0.1+version: 2.0.1.1 license: MIT license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>