mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-09 20:45:47 +01:00
Remove deprecated '--maintained' option from the 'search' command
This commit is contained in:
parent
ee93af6d5f
commit
cd66d2ab19
@ -7638,8 +7638,6 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
help='as -i, but only bugowner')
|
help='as -i, but only bugowner')
|
||||||
@cmdln.option('-m', '--maintainer', action='store_true',
|
@cmdln.option('-m', '--maintainer', action='store_true',
|
||||||
help='as -i, but only maintainer')
|
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',
|
@cmdln.option('-M', '--mine', action='store_true',
|
||||||
help='shorthand for --bugowner --package')
|
help='shorthand for --bugowner --package')
|
||||||
@cmdln.option('--csv', action='store_true',
|
@cmdln.option('--csv', action='store_true',
|
||||||
@ -7682,9 +7680,6 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
else:
|
else:
|
||||||
search_term = args[0]
|
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?
|
# XXX: is it a good idea to make this the default?
|
||||||
# support perl symbols:
|
# support perl symbols:
|
||||||
if re.match(r'^perl\(\w+(::\w+)*\)$', search_term):
|
if re.match(r'^perl\(\w+(::\w+)*\)$', search_term):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user