fix tests

This commit is contained in:
Tomas Kopecek 2023-01-23 11:43:55 +01:00
parent d7a080cb68
commit 5c1718337c
2 changed files with 3 additions and 2 deletions

View file

@ -965,7 +965,8 @@ def handle_call(goptions, session, args):
Note, that you can use global option --noauth for anonymous calls here"""
usage = textwrap.dedent(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",
help="Specify keyword arguments as a dictionary (implies --python)")
parser.add_option("--json-output", action="store_true", help="Use JSON syntax for output")

View file

@ -120,7 +120,7 @@ Note, that you can use global option --noauth for anonymous calls here
Options:
-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
--python)
--json-output Use JSON syntax for output