Commit 3fb2b245 authored by Leigh Stoller's avatar Leigh Stoller

Minor fix to argument processing code.

parent 4e53b7fc
......@@ -119,9 +119,9 @@ def do_method(server, method_and_args):
#
try:
# Parse the options,
opts, req_args = getopt.getopt(sys.argv[1:],
"dhVs:l:a",
[ "help", "version", "server=", "login=", ])
opts, req_args = getopt.getopt(sys.argv[1:],
"dhVs:l:am:",
[ "help", "version", "server=", "login=", "module="])
# ... act on them appropriately, and
for opt, val in opts:
if opt in ("-h", "--help"):
......
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