10
0
Fork 0

cli argument corrected

This commit is contained in:
Kevin Redon 2011-05-06 13:08:36 +02:00
parent 3b9f881cbb
commit 6ad0e2b4f0
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ while arg=ARGV.shift do
@socket = param if param
when "--port","-p"
param = ARGV.shift.to_i
@tcp = param if param
@port = param if param
when "--host","-l"
param = ARGV.shift
@host = param if param