1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-26 06:46:13 +01:00

Remove deprecated '--maintained' option from the 'search' command

This commit is contained in:
Daniel Mach 2022-08-25 09:50:42 +02:00
parent ee93af6d5f
commit cd66d2ab19

View File

@ -7638,8 +7638,6 @@ Please submit there instead, or use --nodevelproject to force direct submission.
help='as -i, but only bugowner')
@cmdln.option('-m', '--maintainer', action='store_true',
help='as -i, but only maintainer')
@cmdln.option('--maintained', action='store_true',
help='OBSOLETE: please use maintained command instead.')
@cmdln.option('-M', '--mine', action='store_true',
help='shorthand for --bugowner --package')
@cmdln.option('--csv', action='store_true',
@ -7682,9 +7680,6 @@ Please submit there instead, or use --nodevelproject to force direct submission.
else:
search_term = args[0]
if opts.maintained:
raise oscerr.WrongOptions('The --maintained option is not anymore supported. Please use the maintained command instead.')
# XXX: is it a good idea to make this the default?
# support perl symbols:
if re.match(r'^perl\(\w+(::\w+)*\)$', search_term):