cli argument corrected
This commit is contained in:
parent
3b9f881cbb
commit
6ad0e2b4f0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue