From bec51bb2e04a89c22455f0091fc879605e34d4df Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Feb 18 2019 02:03:37 +0000 Subject: adjust grammar --- diff --git a/cli/koji_cli/commands.py b/cli/koji_cli/commands.py index ebe330a..9d4f079 100644 --- a/cli/koji_cli/commands.py +++ b/cli/koji_cli/commands.py @@ -2639,7 +2639,7 @@ def handle_add_group_pkg(goptions, session, args): def handle_block_group_pkg(goptions, session, args): "[admin] Block a package from a group's package listing" usage = _("usage: %prog block-group-pkg [options] [...]") - usage += '\n' + _("Note, that blocking is propagated through inheritance chain, so " + usage += '\n' + _("Note that blocking is propagated through the inheritance chain, so " "it is not exactly the same as package removal.") usage += _("\n(Specify the --help global option for a list of other help options)") parser = OptionParser(usage=usage) diff --git a/tests/test_cli/test_block_group_pkg.py b/tests/test_cli/test_block_group_pkg.py index b9eddb0..a57233c 100644 --- a/tests/test_cli/test_block_group_pkg.py +++ b/tests/test_cli/test_block_group_pkg.py @@ -20,7 +20,7 @@ class TestBlockGroupPkg(utils.CliTestCase): self.activate_session = mock.patch('koji_cli.commands.activate_session').start() self.error_format = """Usage: %s block-group-pkg [options] [...] -Note, that blocking is propagated through inheritance chain, so it is not exactly the same as package removal. +Note that blocking is propagated through the inheritance chain, so it is not exactly the same as package removal. (Specify the --help global option for a list of other help options) %s: error: {message} @@ -56,7 +56,7 @@ Note, that blocking is propagated through inheritance chain, so it is not exactl self.assert_help( handle_block_group_pkg, """Usage: %s block-group-pkg [options] [...] -Note, that blocking is propagated through inheritance chain, so it is not exactly the same as package removal. +Note that blocking is propagated through the inheritance chain, so it is not exactly the same as package removal. (Specify the --help global option for a list of other help options) Options: