#2734 cli: --noauth for 'call' command
Merged a year ago by tkopecek. Opened a year ago by tkopecek.
tkopecek/koji issue2718  into  master

file modified
+4 -1
@@ -870,7 +870,10 @@ 

  

  def handle_call(goptions, session, args):

      "Execute an arbitrary XML-RPC call"

-     usage = _("usage: %prog call [options] <name> [<arg> ...]")

+     usage = _("""\

+         usage: %prog call [options] <name> [<arg> ...]")

+ 

+         Note, that you can use global option --noauth for anonymous calls here""")

      parser = OptionParser(usage=get_usage_str(usage))

      parser.add_option("--python", action="store_true", help=_("Use python syntax for values"))

      parser.add_option("--kwargs",

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

a year ago

Could we reuse the global option --noauth here?

Ah , you're right. I'll just emphasize it in a docstring.

rebased onto 1dd53ab

a year ago

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

a year ago

Commit 5675498 fixes this pull-request

Pull-Request has been merged by tkopecek

a year ago

Metadata Update from @mfilip:
- Pull-request untagged with: no_qe
- Pull-request tagged with: testing-done, testing-ready

a year ago