#3662 cli: improve help for call --python option
Closed 2 years ago by tkopecek. Opened 2 years ago by ktdreyer.
ktdreyer/koji cli-call-help  into  master

file modified
+1 -1
@@ -965,7 +965,7 @@ 

          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")

The --python option is for input values, not output values. Update the --help message to explain this.

Metadata Update from @tkopecek:
- Pull-request tagged with: doc, no_qe

2 years ago

I've added test + flake8 fix in #3663

Pull-Request has been closed by tkopecek

2 years ago
Metadata