Skip to content

Commit 43a07e1

Browse files
author
Huanxuan Ao
committed
Add missing '(name only)' message for keypair in computev2
In 'keypair show' command. One help message had '(name only)' but the doc had not. And another had not '(name only)' but the doc had. This patch Fixs them and keeps the consistent between doc and help message. Change-Id: Ic88219ae25a6f545a1db39e6b585e1857ae9e2e0
1 parent 605efe6 commit 43a07e1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

doc/source/command-objects/keypair.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ Display public key details
7070

7171
.. describe:: <key>
7272

73-
Public key to display
73+
Public key to display (name only)

openstackclient/compute/v2/keypair.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def get_parser(self, prog_name):
146146
'--public-key',
147147
action='store_true',
148148
default=False,
149-
help=_("Show only bare public key")
149+
help=_("Show only bare public key (name only)")
150150
)
151151
return parser
152152

0 commit comments

Comments
 (0)