CLI: Remove --paths option from list-buildroot

Fixes: https://pagure.io/koji/issue/3106
This commit is contained in:
Jana Cupova 2022-05-10 09:49:11 +02:00 committed by Tomas Kopecek
parent 9eec301f87
commit 26cdb3a8af
2 changed files with 0 additions and 14 deletions

View file

@ -2768,15 +2768,12 @@ def anon_handle_list_buildroot(goptions, session, args):
"[info] List the rpms used in or built in a buildroot"
usage = "usage: %prog list-buildroot [options] <buildroot-id>"
parser = OptionParser(usage=get_usage_str(usage))
parser.add_option("--paths", action="store_true", help=SUPPRESS_HELP)
parser.add_option("--built", action="store_true", help="Show the built rpms")
parser.add_option("--verbose", "-v", action="store_true", help="Show more information")
(options, args) = parser.parse_args(args)
if len(args) != 1:
parser.error("Incorrect number of arguments")
ensure_connection(session, goptions)
if options.paths:
parser.error("--paths option is deprecated and will be removed in 1.30")
buildrootID = int(args[0])
opts = {}
if options.built: