diff --git a/osc/commandline.py b/osc/commandline.py index bd3321af..3230d900 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -2700,6 +2700,8 @@ Please submit there instead, or use --nodevelproject to force direct submission. if opts.attribute: maintained_attribute = opts.attribute maintained_update_project_attribute = conf.config['maintained_update_project_attribute'] + if opts.update_project_attribute: + maintained_update_project_attribute = opts.update_project_attribute if not len(args) or len(args) > 2: raise oscerr.WrongArgs('Wrong number of arguments.')