Help text for "--matching" is not clear.
The help text for "hypervisor-list --matching" reads, "List hypervisors matching the given <hostname>." This is a bit confusing, since it does talk about hypervisors as plural, but it still talks about a singular hostname as opposed to a pattern being matched. Amended help text to make it clear. Change-Id: I56fd449001289732254ea99d9b75030834491703 Closes-Bug: #1706525
This commit is contained in:
@@ -3687,7 +3687,7 @@ def _do_hypervisor_list(cs, matching=None, limit=None, marker=None):
|
||||
'--matching',
|
||||
metavar='<hostname>',
|
||||
default=None,
|
||||
help=_('List hypervisors matching the given <hostname>.'))
|
||||
help=_('List hypervisors matching the given <hostname> (or pattern).'))
|
||||
def do_hypervisor_list(cs, args):
|
||||
"""List hypervisors."""
|
||||
_do_hypervisor_list(cs, matching=args.matching)
|
||||
@@ -3698,7 +3698,7 @@ def do_hypervisor_list(cs, args):
|
||||
'--matching',
|
||||
metavar='<hostname>',
|
||||
default=None,
|
||||
help=_('List hypervisors matching the given <hostname>. '
|
||||
help=_('List hypervisors matching the given <hostname> (or pattern). '
|
||||
'If matching is used limit and marker options will be ignored.'))
|
||||
@utils.arg(
|
||||
'--marker',
|
||||
|
||||
Reference in New Issue
Block a user