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:
parent
578390ee7e
commit
2504f39ce3
@ -3062,7 +3062,7 @@ def do_usage_list(cs, args):
|
|||||||
'--tenant',
|
'--tenant',
|
||||||
metavar='<tenant-id>',
|
metavar='<tenant-id>',
|
||||||
default=None,
|
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):
|
def do_usage(cs, args):
|
||||||
"""Show usage data for a single tenant."""
|
"""Show usage data for a single tenant."""
|
||||||
dateformat = "%Y-%m-%d"
|
dateformat = "%Y-%m-%d"
|
||||||
|
Loading…
Reference in New Issue
Block a user