From 1dd53ab7254f2c9270fcea2dbddb837be8e3db77 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Mar 03 2021 14:58:45 +0000 Subject: cli: emphasize --noauth option for 'call' Fixes: https://pagure.io/koji/issue/2718 --- diff --git a/cli/koji_cli/commands.py b/cli/koji_cli/commands.py index d571577..358d772 100644 --- a/cli/koji_cli/commands.py +++ b/cli/koji_cli/commands.py @@ -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] [ ...]") + usage = _("""\ + usage: %prog call [options] [ ...]") + + 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",