#3085 cli: improve help text for add-tag --parent
Merged 2 years ago by tkopecek. Opened 2 years ago by ktdreyer.
ktdreyer/koji help-add-tag-parent  into  master

file modified
+1 -1
@@ -5248,7 +5248,7 @@ 

      "[admin] Add a new tag to the database"

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

      parser = OptionParser(usage=get_usage_str(usage))

-     parser.add_option("--parent", help=_("Specify parent"))

+     parser.add_option("--parent", help=_("Set a parent tag with priority 0"))

      parser.add_option("--arches", help=_("Specify arches"))

      parser.add_option("--maven-support", action="store_true",

                        help=_("Enable creation of Maven repos for this tag"))

Update the --help text to clarify that the --parent option will add a parent tag at the highest priority (0).

Commit 03dafc4 fixes this pull-request

Pull-Request has been merged by tkopecek

2 years ago

Whoops, I forget to update the test to match this change.

PR #3087 fixes it

Metadata