cli: emphasize --noauth option for 'call'

Fixes: https://pagure.io/koji/issue/2718
This commit is contained in:
Tomas Kopecek 2021-03-03 15:58:45 +01:00
parent a5d43db4a0
commit 1dd53ab725

View file

@ -870,7 +870,10 @@ def handle_resubmit(goptions, session, args):
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",