From 1e895f3286cdb433a72a2195aa3adb40b6ec9a5c Mon Sep 17 00:00:00 2001 From: zhengsenyan Date: Thu, 7 Jul 2016 14:02:13 +0800 Subject: [PATCH] fix one spelling mistake and two help messages I checked all the 70 rst files in doc/source/command-objects and found that: -one spelling mistake as:rescure should be rescue(server.rst) -two help messages:xpvnc should be xvpvnc(console-url.rst and console.py) Change-Id: I6f46c79983eaf5650bd3aa0ab448c19f5c6527a9 --- doc/source/command-objects/console-url.rst | 2 +- doc/source/command-objects/server.rst | 2 +- openstackclient/compute/v2/console.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/command-objects/console-url.rst b/doc/source/command-objects/console-url.rst index 9cab87981e..7993a7bfed 100644 --- a/doc/source/command-objects/console-url.rst +++ b/doc/source/command-objects/console-url.rst @@ -24,7 +24,7 @@ Show server's remote console URL .. option:: --xvpvnc - Show xpvnc console URL + Show xvpvnc console URL .. option:: --spice diff --git a/doc/source/command-objects/server.rst b/doc/source/command-objects/server.rst index 49a5415337..f099c271c9 100644 --- a/doc/source/command-objects/server.rst +++ b/doc/source/command-objects/server.rst @@ -543,7 +543,7 @@ server rescue Put server in rescue mode -.. program:: server rescure +.. program:: server rescue .. code:: bash os server rescue diff --git a/openstackclient/compute/v2/console.py b/openstackclient/compute/v2/console.py index 4179fa5c1e..74bed4417b 100644 --- a/openstackclient/compute/v2/console.py +++ b/openstackclient/compute/v2/console.py @@ -87,7 +87,7 @@ class ShowConsoleURL(command.ShowOne): dest='url_type', action='store_const', const='xvpvnc', - help=_("Show xpvnc console URL") + help=_("Show xvpvnc console URL") ) type_group.add_argument( '--spice',