Commit 300e4ef2 authored by David Johnson's avatar David Johnson

Fix arg handling bug.

parent f87f8de3
......@@ -452,13 +452,13 @@ def main():
(host,port,acllist) = (DEF_HOST,DEF_PORT,DEF_ACLLIST)
for (o,v) in opts:
if o == 'h':
if o == '-h':
host = v
pass
elif o == 'p':
elif o == '-p':
port = int(v)
pass
elif o == 'a':
elif o == '-a':
acllist = v.split(',')
pass
pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment