mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 23:51:08 +00:00
backportpackage: Error if neither -b nor -u is specified
This commit is contained in:
parent
a8cea3d339
commit
d116ced2ca
@ -86,6 +86,8 @@ def parse(args):
|
||||
p.error('You must specify a source package')
|
||||
if not opts.dest_releases:
|
||||
p.error('You must specify at least one destination release')
|
||||
if not opts.upload or opts.build:
|
||||
p.error('Nothing to do')
|
||||
|
||||
return opts, args
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user