From f6fc57d81fb47a70b92422d911a8ec1d679e828d Mon Sep 17 00:00:00 2001 From: promostarr Date: Mon, 17 Apr 2017 16:09:57 +0100 Subject: [PATCH] Test listener --- .idea/workspace.xml | 36 ++++++++++++++++++------------------ core.rb | 4 ++++ 2 files changed, 22 insertions(+), 18 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 26519b1..92b416e 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,7 @@ - + - @@ -333,14 +333,6 @@ - - - - - - - - @@ -349,10 +341,18 @@ + + + + + + + + - - + + diff --git a/core.rb b/core.rb index cf552e7..d192ce7 100644 --- a/core.rb +++ b/core.rb @@ -36,4 +36,8 @@ OptionParser.new do |parser| puts jan.whoami() end + parser.on("--listen") do + puts jan.listen(false) + end + end.parse!