diff --git a/nova/cmd/manage.py b/nova/cmd/manage.py index d8d51e758819..2492c3049ae9 100644 --- a/nova/cmd/manage.py +++ b/nova/cmd/manage.py @@ -1323,10 +1323,11 @@ class CellV2Commands(object): marker = instances[-1].uuid return marker - @args('--cell_uuid', metavar='', required=True, - help='Unmigrated instances will be mapped to the cell with the ' - 'uuid provided.') - @args('--max-count', metavar='', + @args('--cell_uuid', metavar='', dest='cell_uuid', + required=True, + help='Unmigrated instances will be mapped to the cell with the ' + 'uuid provided.') + @args('--max-count', metavar='', dest='max_count', help='Maximum number of instances to map') def map_instances(self, cell_uuid, max_count=None): """Map instances into the provided cell.