#3663 cli: improve help for call --python option
Merged a year ago by tkopecek. Opened a year ago by tkopecek.
tkopecek/koji pr3662a  into  master

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

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

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

  

  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

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

a year ago

Commit 27641f7 fixes this pull-request

Pull-Request has been merged by tkopecek

a year ago