Correct copy/paste errors in help
The keypair, hypervisor, and flavor CLIs all incorrectly say that they support a special -1 case for the 'limit' parameter. I suspect this was just copied from the servers help text by mistake. Change-Id: I57fb3444d54232f0718424c00c07a28b29473d19 Closes-Bug: #1645489
This commit is contained in:
@ -868,10 +868,9 @@ def _print_flavor_list(flavors, show_extra_specs=False):
|
||||
metavar='<limit>',
|
||||
type=int,
|
||||
default=None,
|
||||
help=_("Maximum number of flavors to display. If limit == -1, all flavors "
|
||||
"will be displayed. If limit is bigger than 'osapi_max_limit' "
|
||||
"option of Nova API, limit 'osapi_max_limit' will be used "
|
||||
"instead."))
|
||||
help=_("Maximum number of flavors to display. If limit is bigger than "
|
||||
"'osapi_max_limit' option of Nova API, limit 'osapi_max_limit' "
|
||||
"will be used instead."))
|
||||
def do_flavor_list(cs, args):
|
||||
"""Print a list of available 'flavors' (sizes of servers)."""
|
||||
if args.all:
|
||||
@ -3269,8 +3268,7 @@ def do_keypair_list(cs, args):
|
||||
metavar='<limit>',
|
||||
type=int,
|
||||
default=None,
|
||||
help=_("Maximum number of keypairs to display. If limit == -1, all "
|
||||
"keypairs will be displayed. If limit is bigger than "
|
||||
help=_("Maximum number of keypairs to display. If limit is bigger than "
|
||||
"'osapi_max_limit' option of Nova API, limit 'osapi_max_limit' "
|
||||
"will be used instead."))
|
||||
def do_keypair_list(cs, args):
|
||||
@ -4141,8 +4139,7 @@ def do_hypervisor_list(cs, args):
|
||||
metavar='<limit>',
|
||||
type=int,
|
||||
default=None,
|
||||
help=_("Maximum number of hypervisors to display. If limit == -1, all "
|
||||
"hypervisors will be displayed. If limit is bigger than "
|
||||
help=_("Maximum number of hypervisors to display. If limit is bigger than "
|
||||
"'osapi_max_limit' option of Nova API, limit 'osapi_max_limit' "
|
||||
"will be used instead."))
|
||||
def do_hypervisor_list(cs, args):
|
||||
|
Reference in New Issue
Block a user