PR#3663: cli: improve help for call --python option
Merges #3663 https://pagure.io/koji/pull-request/3663
This commit is contained in:
commit
27641f7e63
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"""
|
||||
usage = textwrap.dedent(usage)
|
||||
parser = OptionParser(usage=get_usage_str(usage))
|
||||
parser.add_option("--python", action="store_true", help="Use python syntax for 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")
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue