Parameter passing updated.

This commit is contained in:
Diego Nehab 2001-01-25 21:57:07 +00:00
parent 03e063c21e
commit 68f51243b3
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
host = "localhost"
port = 8080
host = host or "localhost"
port = host or 8080
if arg then
host = arg[1] or host
port = arg[2] or port

View File

@ -1,5 +1,5 @@
host = "localhost"
port = 8080
host = host or "localhost"
port = port or 8080
if arg then
host = arg[1] or host
port = arg[2] or port