#2498 cli: list-tag-inheritance - description of flags
Merged 3 years ago by tkopecek. Opened 3 years ago by tkopecek.
tkopecek/koji issue2296  into  master

file modified
+14 -2
@@ -4059,7 +4059,19 @@ 

  

  def anon_handle_list_tag_inheritance(goptions, session, args):

      "[info] Print the inheritance information for a tag"

-     usage = _("usage: %prog list-tag-inheritance [options] <tag>")

+     usage = _("""\

+         usage: %prog list-tag-inheritance [options] <tag>

+ 

+         Prints tag inheritance with basic information about links.

+         Four flags could be seen in the output:

+          M - maxdepth - limits inheritance to n-levels

+          F - package filter (packages ignored for inheritance)

+          I - intransitive link - inheritance immediately stops here

+          N - noconfig - if tag is used in buildroot, its configuration values will not be used

+ 

+         Exact values for maxdepth and package filter can be inquired by taginfo command.

+     """)

+     usage = textwrap.dedent(usage)

      parser = OptionParser(usage=get_usage_str(usage))

      parser.add_option("--reverse", action="store_true",

                        help=_("Process tag's children instead of its parents"))
@@ -4071,7 +4083,7 @@ 

      parser.add_option("--repo", type='int', metavar="REPO#", help=_("query at event for a repo"))

      (options, args) = parser.parse_args(args)

      if len(args) != 1:

-         parser.error(_("This command takes exctly one argument: a tag name or ID"))

+         parser.error(_("This command takes exactly one argument: a tag name or ID"))

      ensure_connection(session)

      event = koji.util.eventFromOpts(session, options)

      if event:

Metadata Update from @julian8628:
- Pull-request tagged with: doc, no_qe

3 years ago

Commit 98ebd87 fixes this pull-request

Pull-Request has been merged by tkopecek

3 years ago