diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-10-23 15:30:30 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-10-23 15:30:30 -0400 |
commit | 2020ccc3ffbbc8a255c9e4e043167786124be2cf (patch) | |
tree | 2b25f9c50ba6495c7308fb6946bc01bdda27361a /CmdLine.hs | |
parent | bb3d17615a9ccbd96dbecc0dad335a04d578ba0f (diff) | |
download | keysafe-2020ccc3ffbbc8a255c9e4e043167786124be2cf.tar.gz |
Change default for --port to 4242.
Diffstat (limited to 'CmdLine.hs')
-rw-r--r-- | CmdLine.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -181,7 +181,7 @@ parseServerConfig = ServerConfig <$> option auto ( long "port" <> metavar "P" - <> value 80 + <> value 4242 <> showDefault <> help "Port for server to listen on." ) @@ -243,4 +243,4 @@ hostPortOption = eitherReader $ \s -> (h, ':':ps) -> case reads ps of [(p, "")] -> Right (h, p) _ -> Left $ "unable to parse port \"" ++ ps ++ "\"" - (h, _) -> Right (h, 80) + (h, _) -> Right (h, 4242) |