CLI: [list-tag-inheritance] Clear Error with removed --stop/--jump opts
This commit is contained in:
parent
f8464a1f32
commit
b864f3d440
1 changed files with 3 additions and 0 deletions
|
|
@ -4403,6 +4403,9 @@ def anon_handle_list_tag_inheritance(goptions, session, args):
|
|||
(options, args) = parser.parse_args(args)
|
||||
if len(args) != 1:
|
||||
parser.error(_("This command takes exactly one argument: a tag name or ID"))
|
||||
for deprecated in ('stop', 'jump'):
|
||||
if getattr(options, deprecated):
|
||||
parser.error(_("--%s option has been removed in 1.26") % deprecated)
|
||||
ensure_connection(session, goptions)
|
||||
event = koji.util.eventFromOpts(session, options)
|
||||
if event:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue