From 6d054da4cb7f90ead2ab308f9822cf4cf67f7818 Mon Sep 17 00:00:00 2001 From: Yuming Zhu Date: Mar 23 2018 06:33:27 +0000 Subject: cli: change --force to real bool arg for add-tag-inheritance --- diff --git a/cli/koji_cli/commands.py b/cli/koji_cli/commands.py index a6f338a..99aea2b 100644 --- a/cli/koji_cli/commands.py +++ b/cli/koji_cli/commands.py @@ -4847,7 +4847,8 @@ def handle_add_tag_inheritance(goptions, session, args): parser.add_option("--intransitive", action="store_true", help=_("Set intransitive")) parser.add_option("--noconfig", action="store_true", help=_("Set to packages only")) parser.add_option("--pkg-filter", help=_("Specify the package filter")) - parser.add_option("--force", help=_("Force adding a parent to a tag that already has that parent tag")) + parser.add_option("--force", action="store_true", + help=_("Force adding a parent to a tag that already has that parent tag")) (options, args) = parser.parse_args(args) if len(args) != 2: