summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/nova-manage8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/nova-manage b/bin/nova-manage
index c783c304b..4f3d889ea 100755
--- a/bin/nova-manage
+++ b/bin/nova-manage
@@ -1056,11 +1056,11 @@ class CellCommands(object):
ctxt = context.get_admin_context()
db.cell_create(ctxt, values)
- @args('--cell_id', dest='cell_id', metavar='<cell_id>',
- help='ID of the cell to delete')
- def delete(self, cell_id):
+ @args('--cell_name', dest='cell_name', metavar='<cell_name>',
+ help='Name of the cell to delete')
+ def delete(self, cell_name):
ctxt = context.get_admin_context()
- db.cell_delete(ctxt, cell_id)
+ db.cell_delete(ctxt, cell_name)
def list(self):
ctxt = context.get_admin_context()