From 93c4f49af957cf7e20eb107d452a7c794c90289f Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Wed, 30 Oct 2019 12:23:03 +0100 Subject: [PATCH] --disabled alias for --not-enabled in list-hosts Fixes: https://pagure.io/koji/issue/1737 --- cli/koji_cli/commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/koji_cli/commands.py b/cli/koji_cli/commands.py index a5dbc290..48b4ac07 100644 --- a/cli/koji_cli/commands.py +++ b/cli/koji_cli/commands.py @@ -2863,6 +2863,7 @@ def anon_handle_list_hosts(goptions, session, args): parser.add_option("--not-ready", action="store_false", dest="ready", help=_("Limit to not ready hosts")) parser.add_option("--enabled", action="store_true", help=_("Limit to enabled hosts")) parser.add_option("--not-enabled", action="store_false", dest="enabled", help=_("Limit to not enabled hosts")) + parser.add_option("--disabled", action="store_false", dest="enabled", help=_("Alias for --not-enabled")) parser.add_option("--quiet", action="store_true", default=goptions.quiet, help=_("Do not print header information")) parser.add_option("--show-channels", action="store_true", help=_("Show host's channels"))