diff options
| author | Huanxuan Ao <huanxuan.ao@easystack.cn> | 2016-07-04 14:45:40 +0800 |
|---|---|---|
| committer | Huanxuan Ao <huanxuan.ao@easystack.cn> | 2016-07-04 14:45:40 +0800 |
| commit | 43a07e133d0498dacc3c081c68508377d39e823b (patch) | |
| tree | 72c7e22e791d2f8f8eec134f79f9e4f0e57a2120 | |
| parent | 605efe67111790ed4801fd5b75ff314d2353d625 (diff) | |
| download | python-openstackclient-43a07e133d0498dacc3c081c68508377d39e823b.tar.gz | |
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
| -rw-r--r-- | doc/source/command-objects/keypair.rst | 2 | ||||
| -rw-r--r-- | openstackclient/compute/v2/keypair.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/command-objects/keypair.rst b/doc/source/command-objects/keypair.rst index 64cc20cd..af50a651 100644 --- a/doc/source/command-objects/keypair.rst +++ b/doc/source/command-objects/keypair.rst @@ -70,4 +70,4 @@ Display public key details .. describe:: <key> - Public key to display + Public key to display (name only) diff --git a/openstackclient/compute/v2/keypair.py b/openstackclient/compute/v2/keypair.py index 3725a3a8..d30fd429 100644 --- a/openstackclient/compute/v2/keypair.py +++ b/openstackclient/compute/v2/keypair.py @@ -146,7 +146,7 @@ class ShowKeypair(command.ShowOne): '--public-key', action='store_true', default=False, - help=_("Show only bare public key") + help=_("Show only bare public key (name only)") ) return parser |
