From d68076eeaac8c0dd5609f4a8c7781047b3ec6569 Mon Sep 17 00:00:00 2001 From: Eduardo Santos Date: Sep 20 2023 15:47:52 +0000 Subject: Fix a few CLI help messages - remove-build-inheritance: when the priority is passed as a positional parameter, no inheritance is ever found. - (un)tag-build: the last repeatable positional parameter can be a build with name, version, and release, and not just the name of a package. --- diff --git a/cli/koji_cli/commands.py b/cli/koji_cli/commands.py index 28d4418..6cf36db 100644 --- a/cli/koji_cli/commands.py +++ b/cli/koji_cli/commands.py @@ -5242,7 +5242,7 @@ def handle_edit_tag_inheritance(goptions, session, args): def handle_remove_tag_inheritance(goptions, session, args): """[admin] Remove a tag inheritance link""" - usage = "usage: %prog remove-tag-inheritance " + usage = "usage: %prog remove-tag-inheritance " parser = OptionParser(usage=get_usage_str(usage)) (options, args) = parser.parse_args(args) @@ -6531,7 +6531,7 @@ def handle_make_task(goptions, session, args): def handle_tag_build(opts, session, args): "[bind] Apply a tag to one or more builds" - usage = "usage: %prog tag-build [options] [ ...]" + usage = "usage: %prog tag-build [options] [ ...]" parser = OptionParser(usage=get_usage_str(usage)) parser.add_option("--force", action="store_true", help="force operation") parser.add_option("--wait", action="store_true", @@ -6609,7 +6609,7 @@ def handle_move_build(opts, session, args): def handle_untag_build(goptions, session, args): "[bind] Remove a tag from one or more builds" - usage = "usage: %prog untag-build [options] [ ...]" + usage = "usage: %prog untag-build [options] [ ...]" parser = OptionParser(usage=get_usage_str(usage)) parser.add_option("--all", action="store_true", help="untag all versions of the package in this tag, pkg is package name")