diff --git a/osc/commandline.py b/osc/commandline.py index 6025306e..e15ef8ff 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -2006,7 +2006,7 @@ Please submit there instead, or use --nodevelproject to force direct submission. else: raise oscerr.WrongArgs('Please specify at least a project.') - if not opts.all and package is None: + if not opts.all and package is None and not opts.repository: raise oscerr.WrongOptions('No package name has been provided. Use --all option, if you want to request to delete the entire project.') if opts.repository: