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:
parent
3078540161
commit
5b317936cb
@ -40,7 +40,7 @@ Delete public key
|
|||||||
|
|
||||||
.. describe:: <key>
|
.. describe:: <key>
|
||||||
|
|
||||||
Public key to delete
|
Public key to delete (name only)
|
||||||
|
|
||||||
keypair list
|
keypair list
|
||||||
------------
|
------------
|
||||||
@ -66,7 +66,7 @@ Display public key details
|
|||||||
|
|
||||||
.. option:: --public-key
|
.. option:: --public-key
|
||||||
|
|
||||||
Show only bare public key
|
Show only bare public key (name only)
|
||||||
|
|
||||||
.. describe:: <key>
|
.. describe:: <key>
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ class DeleteKeypair(command.Command):
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'name',
|
'name',
|
||||||
metavar='<key>',
|
metavar='<key>',
|
||||||
help=_("Public key to delete")
|
help=_("Public key to delete (name only)")
|
||||||
)
|
)
|
||||||
return parser
|
return parser
|
||||||
|
|
||||||
@ -118,7 +118,7 @@ class ShowKeypair(command.ShowOne):
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'name',
|
'name',
|
||||||
metavar='<key>',
|
metavar='<key>',
|
||||||
help=_("Public key to display")
|
help=_("Public key to display (name only)")
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--public-key',
|
'--public-key',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user