From 85f20a9d7cd71c6f2adc484b72028fd589676f9c Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Jan 20 2023 14:58:31 +0000 Subject: cli: improve help for call --python option The --python option is for input values, not output values. Update the --help message to explain this. --- diff --git a/cli/koji_cli/commands.py b/cli/koji_cli/commands.py index c4cf995..754b2ae 100644 --- a/cli/koji_cli/commands.py +++ b/cli/koji_cli/commands.py @@ -965,7 +965,7 @@ 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")