fix keypair help msg

keypair delete and keypair show commands cannot work on keypair ID

Change-Id: I958fcd2ed184706b28d63cc9c73a8b566e86a16c
Closes-Bug:#1588701
This commit is contained in:
sunyajing 2016-06-06 13:16:55 +08:00 committed by Steve Martinelli
parent 3078540161
commit 5b317936cb
2 changed files with 4 additions and 4 deletions
doc/source/command-objects
openstackclient/compute/v2

@ -40,7 +40,7 @@ Delete public key
.. describe:: <key>
Public key to delete
Public key to delete (name only)
keypair list
------------
@ -66,7 +66,7 @@ Display public key details
.. option:: --public-key
Show only bare public key
Show only bare public key (name only)
.. describe:: <key>

@ -84,7 +84,7 @@ class DeleteKeypair(command.Command):
parser.add_argument(
'name',
metavar='<key>',
help=_("Public key to delete")
help=_("Public key to delete (name only)")
)
return parser
@ -118,7 +118,7 @@ class ShowKeypair(command.ShowOne):
parser.add_argument(
'name',
metavar='<key>',
help=_("Public key to display")
help=_("Public key to display (name only)")
)
parser.add_argument(
'--public-key',