From ead61d6a2181ecc68f3d748640a8dc077e953278 Mon Sep 17 00:00:00 2001 From: nidhimittalhada Date: Thu, 27 Jul 2017 11:39:11 +0530 Subject: [PATCH] Help text for "--matching" is not clear. The help text for "hypervisor-list --matching" reads, "List hypervisors matching the given ." 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 --- novaclient/v2/shell.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/novaclient/v2/shell.py b/novaclient/v2/shell.py index 14c0c4027..bdaf589de 100644 --- a/novaclient/v2/shell.py +++ b/novaclient/v2/shell.py @@ -3687,7 +3687,7 @@ def _do_hypervisor_list(cs, matching=None, limit=None, marker=None): '--matching', metavar='', default=None, - help=_('List hypervisors matching the given .')) + help=_('List hypervisors matching the given (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='', default=None, - help=_('List hypervisors matching the given . ' + help=_('List hypervisors matching the given (or pattern). ' 'If matching is used limit and marker options will be ignored.')) @utils.arg( '--marker',