Merge pull request #21 from PirosB3/master

Solved issue #12 on port validation
This commit is contained in:
Jeff Lindsay 2011-06-29 14:12:47 -07:00
commit 7605e180a6
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ end
args = options.parse!
local_port = args[0]
unless local_port
unless local_port.to_i.between?(1, 65535)
puts options
exit
end