summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-09-15 20:55:06 +0000
committerGerrit Code Review <review@openstack.org>2015-09-15 20:55:06 +0000
commite1346865db24dd1d211446eb8508b052e21ff39b (patch)
tree0471fb1a89e9d22fb31dc36897fcfb84eef16c74
parentfb47954802657ec441a4b7f659e42f6f30fa7302 (diff)
parentf636481f015c380b610eb8c7e67571a3b4807c55 (diff)
downloadpython-novaclient-e1346865db24dd1d211446eb8508b052e21ff39b.tar.gz
Merge "Modify "nova keypair-show" Positional arguments help information"
-rw-r--r--novaclient/v2/shell.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/novaclient/v2/shell.py b/novaclient/v2/shell.py
index aa1cc414..6a2d3dad 100644
--- a/novaclient/v2/shell.py
+++ b/novaclient/v2/shell.py
@@ -2998,7 +2998,7 @@ def _print_keypair(keypair):
@cliutils.arg(
'keypair',
metavar='<keypair>',
- help=_("Name or ID of keypair"))
+ help=_("Name of keypair."))
def do_keypair_show(cs, args):
"""Show details about the given keypair."""
keypair = _find_keypair(cs, args.keypair)
@@ -3006,7 +3006,7 @@ def do_keypair_show(cs, args):
def _find_keypair(cs, keypair):
- """Get a keypair by name or ID."""
+ """Get a keypair by name."""
return utils.find_resource(cs.keypairs, keypair)