1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-26 06:46:13 +01:00

Remove deprecated 'deleteprj' command

This commit is contained in:
Daniel Mach 2022-08-25 09:46:54 +02:00
parent 9ca0a5122e
commit bfcdba8b4d

View File

@ -3808,20 +3808,6 @@ Please submit there instead, or use --nodevelproject to force direct submission.
else:
unlock_project(apiurl, prj, msg)
@cmdln.hide()
@cmdln.option('-f', '--force', action='store_true',
help='deletes a project and its packages')
def do_deleteprj(self, subcmd, opts, project):
"""
Obsolete command to delete project. Use 'rdelete' now.
See the help output of 'rdelete'.
"""
print("This command is obsolete. Use 'osc rdelete <project>'.", file=sys.stderr)
print("See 'osc help rdelete'.", file=sys.stderr)
return 2
@cmdln.alias('metafromspec')
@cmdln.alias('updatepkgmetafromspec')
@cmdln.option('', '--specfile', metavar='FILE',