From cd66d2ab19dc2b8f38a9144d8663e379de542b6a Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Thu, 25 Aug 2022 09:50:42 +0200 Subject: [PATCH] Remove deprecated '--maintained' option from the 'search' command --- osc/commandline.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/osc/commandline.py b/osc/commandline.py index a48f843d..b508799f 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -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):