aboutsummaryrefslogtreecommitdiff
path: root/app/Server.hs
diff options
context:
space:
mode:
Diffstat (limited to 'app/Server.hs')
-rw-r--r--app/Server.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Server.hs b/app/Server.hs
index 353f808..2304f27 100644
--- a/app/Server.hs
+++ b/app/Server.hs
@@ -206,7 +206,8 @@ configParser =
some
(strOption
(long "package" <> short 'p' <> metavar "PATH" <>
- help "Path to a Cabal package"))) <*>
+ help "Path to a Cabal package (Default: '.')"))
+ <|> pure (Directories ["."])) <*>
(pure 8080 <|>
option
auto