Parameter passing updated.
This commit is contained in:
parent
03e063c21e
commit
68f51243b3
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue