more detailed help for block-group-pkg

This commit is contained in:
Tomas Kopecek 2019-02-13 13:26:13 +01:00
parent 4ad8a0ec28
commit fb7e9c1743
2 changed files with 4 additions and 0 deletions

View file

@ -2639,6 +2639,8 @@ 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] <tag> <group> <pkg> [<pkg>...]")
usage += '\n' + _("Note, that blocking is propagated through 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)
(options, args) = parser.parse_args(args)