Wrong help for nova usage command

nova help usage commands provides help that the command
can be used with either tenant name or tenant ID but using
tenant name gives wrong output.

So, updated the help for the command so that it is shown
that only tenant ID can be used.

Change-Id: I2ae1edd28d75fc7988fcd0da5b0fdd8081455b16
Closes-Bug: #1419726
This commit is contained in:
Abhishek Talwar 2015-02-09 17:40:07 +05:30
parent 578390ee7e
commit 2504f39ce3
1 changed files with 1 additions and 1 deletions

View File

@ -3062,7 +3062,7 @@ def do_usage_list(cs, args):
'--tenant',
metavar='<tenant-id>',
default=None,
help=_('UUID or name of tenant to get usage for.'))
help=_('UUID of tenant to get usage for.'))
def do_usage(cs, args):
"""Show usage data for a single tenant."""
dateformat = "%Y-%m-%d"