mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-26 22:56:15 +01:00
Remove deprecated 'deleteprj' command
This commit is contained in:
parent
9ca0a5122e
commit
bfcdba8b4d
@ -3808,20 +3808,6 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
else:
|
else:
|
||||||
unlock_project(apiurl, prj, msg)
|
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('metafromspec')
|
||||||
@cmdln.alias('updatepkgmetafromspec')
|
@cmdln.alias('updatepkgmetafromspec')
|
||||||
@cmdln.option('', '--specfile', metavar='FILE',
|
@cmdln.option('', '--specfile', metavar='FILE',
|
||||||
|
Loading…
Reference in New Issue
Block a user