Limit output to given method
Fixes: https://pagure.io/koji/issue/2687
There's a smaller RPC to get one single method back from the server. The RPC is named system.methodHelp. For example:
system.methodHelp
koji --noauth call system.methodHelp listPackages
Makes sense - too quick fix.
rebased onto cd781cdd8630fe581d8f8b313761d7c6191ba21b
Metadata Update from @tkopecek: - Pull-request tagged with: testing-ready
Metadata Update from @jcupova: - Pull-request tagged with: testing-done
I was a little confused when I read this test and saw the method name is "unknown". What do you think about naming this "bogusMethod" or "foobarMethod" so it's clearer that it's a fake method?
updated
1 new commit added
more informative test string
rebased onto 5b06b6fc920efd386120a8946ff355caaa80d218
this might be
usage = _("usage: %prog list-api [options] [<method_name> ...]")
Otherwise, :thumbsup:
rebased onto fdf64d0a8d287d05fc3eb035d8341a2cb980538a
Commit 9d559a6d fixes this pull-request
Pull-Request has been merged by tkopecek
Limit output to given method
Fixes: https://pagure.io/koji/issue/2687