aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaskell Guy <haskell.guy@localhost>2020-05-28 12:47:39 +0200
committerHaskell Guy <haskell.guy@localhost>2020-05-28 12:47:39 +0200
commit7e6e3e3ebd61b2e095f32bd8d5d4c93ff66e3108 (patch)
tree96d6147df91156b3c3d5e17d56fbf997685895a7
parent604b736a8feac6736c4e01a85e0983699ebb1b6d (diff)
downloadssb-haskell-7e6e3e3ebd61b2e095f32bd8d5d4c93ff66e3108.tar.xz
Remove 'connect' argument
Only support useful subcommands to avoid confusing users. Keep the Connect code there for future use.
-rw-r--r--app/Main.hs4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/Main.hs b/app/Main.hs
index 74670ba..47d86c7 100644
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -115,10 +115,6 @@ hostRoomCMD name desc hostname = do
parser :: Options.Parser Command
parser =
Options.subcommand
- "connect"
- "connect to a peer"
- (Connect <$> Options.argText "peer" "whom to connect to, not really useful now")
- <|> Options.subcommand
"host-room"
"host a room"
( HostRoom