mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-14 09:36:21 +01:00
Merge branch 'fix_deletereq_for_repo' of https://github.com/lethliel/osc
Support "osc deletereq <project> -r <REPO>" (previously, the -r option could only be used if a <package> was specified as well).
This commit is contained in:
commit
efbc60f147
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user