mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-24 03:02:12 +01:00
Fix 'osc rremove' command
This commit is contained in:
parent
2d14d0d1ec
commit
553bbf7b7d
@ -5202,10 +5202,16 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
|
||||
@cmdln.option('-f', '--force', action='store_true', default=False,
|
||||
help="Don't ask and delete files")
|
||||
def do_rremove(self, subcmd, opts, project, package, *files):
|
||||
@cmdln.option('project')
|
||||
@cmdln.option('package')
|
||||
@cmdln.option('files', metavar="file", nargs='+')
|
||||
def do_rremove(self, subcmd, opts):
|
||||
"""
|
||||
Remove source files from selected package
|
||||
"""
|
||||
project = opts.project
|
||||
package = opts.package
|
||||
files = opts.files
|
||||
apiurl = self.get_api_url()
|
||||
|
||||
if len(files) == 0:
|
||||
|
Loading…
x
Reference in New Issue
Block a user