Skip to content

Commit 5b31793

Browse files
sunyajingstevemar
authored andcommitted
fix keypair help msg
keypair delete and keypair show commands cannot work on keypair ID Change-Id: I958fcd2ed184706b28d63cc9c73a8b566e86a16c Closes-Bug:#1588701
1 parent 3078540 commit 5b31793

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

doc/source/command-objects/keypair.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Delete public key
4040
4141
.. describe:: <key>
4242

43-
Public key to delete
43+
Public key to delete (name only)
4444

4545
keypair list
4646
------------
@@ -66,7 +66,7 @@ Display public key details
6666
6767
.. option:: --public-key
6868

69-
Show only bare public key
69+
Show only bare public key (name only)
7070

7171
.. describe:: <key>
7272

openstackclient/compute/v2/keypair.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def get_parser(self, prog_name):
8484
parser.add_argument(
8585
'name',
8686
metavar='<key>',
87-
help=_("Public key to delete")
87+
help=_("Public key to delete (name only)")
8888
)
8989
return parser
9090

@@ -118,7 +118,7 @@ def get_parser(self, prog_name):
118118
parser.add_argument(
119119
'name',
120120
metavar='<key>',
121-
help=_("Public key to display")
121+
help=_("Public key to display (name only)")
122122
)
123123
parser.add_argument(
124124
'--public-key',

0 commit comments

Comments
 (0)