cli: fix help message formatting

Related: https://pagure.io/koji/issue/2718
This commit is contained in:
Tomas Kopecek 2021-03-05 15:36:12 +01:00
parent a20f7c3c04
commit b6bdad7d50
2 changed files with 6 additions and 1 deletions

View file

@ -15,6 +15,8 @@ class TestCall(utils.CliTestCase):
def setUp(self):
self.error_format = """Usage: %s call [options] <name> [<arg> ...]
Note, that you can use global option --noauth for anonymous calls here
(Specify the --help global option for a list of other help options)
%s: error: {message}
@ -130,6 +132,8 @@ class TestCall(utils.CliTestCase):
self.assert_help(
handle_call,
"""Usage: %s call [options] <name> [<arg> ...]
Note, that you can use global option --noauth for anonymous calls here
(Specify the --help global option for a list of other help options)
Options: