fix tests
This commit is contained in:
parent
d7a080cb68
commit
5c1718337c
2 changed files with 3 additions and 2 deletions
|
|
@ -965,7 +965,8 @@ def handle_call(goptions, session, args):
|
||||||
Note, that you can use global option --noauth for anonymous calls here"""
|
Note, that you can use global option --noauth for anonymous calls here"""
|
||||||
usage = textwrap.dedent(usage)
|
usage = textwrap.dedent(usage)
|
||||||
parser = OptionParser(usage=get_usage_str(usage))
|
parser = OptionParser(usage=get_usage_str(usage))
|
||||||
parser.add_option("--python", action="store_true", help="Use python syntax for RPC parameter values")
|
parser.add_option("--python", action="store_true",
|
||||||
|
help="Use python syntax for RPC parameter values")
|
||||||
parser.add_option("--kwargs",
|
parser.add_option("--kwargs",
|
||||||
help="Specify keyword arguments as a dictionary (implies --python)")
|
help="Specify keyword arguments as a dictionary (implies --python)")
|
||||||
parser.add_option("--json-output", action="store_true", help="Use JSON syntax for output")
|
parser.add_option("--json-output", action="store_true", help="Use JSON syntax for output")
|
||||||
|
|
|
||||||
|
|
@ -120,7 +120,7 @@ Note, that you can use global option --noauth for anonymous calls here
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
--python Use python syntax for values
|
--python Use python syntax for RPC parameter values
|
||||||
--kwargs=KWARGS Specify keyword arguments as a dictionary (implies
|
--kwargs=KWARGS Specify keyword arguments as a dictionary (implies
|
||||||
--python)
|
--python)
|
||||||
--json-output Use JSON syntax for output
|
--json-output Use JSON syntax for output
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue