Modify some unusual help messages in computev2
Some command help messages are unusual, for example: common help message for a list command: "list objects" unusual help message: "list obejcets command" I think we should keep help message consistent, so I modify the unusual help messages in computev2. Change-Id: Ic5f11eba1a4397949e85d91cc067519752e89bff
This commit is contained in:
parent
21ac9230e8
commit
c7b137e421
@ -59,7 +59,7 @@ Delete compute agent(s)
|
||||
compute agent list
|
||||
------------------
|
||||
|
||||
List compute agent command
|
||||
List compute agents
|
||||
|
||||
.. program:: compute agent list
|
||||
.. code:: bash
|
||||
@ -74,7 +74,7 @@ List compute agent command
|
||||
compute agent set
|
||||
-----------------
|
||||
|
||||
Set compute agent command
|
||||
Set compute agent properties
|
||||
|
||||
.. program:: agent set
|
||||
.. code:: bash
|
||||
|
@ -7,7 +7,7 @@ Compute v2
|
||||
compute service delete
|
||||
----------------------
|
||||
|
||||
Delete service command
|
||||
Delete compute service(s)
|
||||
|
||||
.. program:: compute service delete
|
||||
.. code:: bash
|
||||
@ -23,7 +23,7 @@ Delete service command
|
||||
compute service list
|
||||
--------------------
|
||||
|
||||
List service command
|
||||
List compute services
|
||||
|
||||
.. program:: compute service list
|
||||
.. code:: bash
|
||||
@ -50,7 +50,7 @@ List service command
|
||||
compute service set
|
||||
-------------------
|
||||
|
||||
Set service command
|
||||
Set compute service properties
|
||||
|
||||
.. program:: compute service set
|
||||
.. code:: bash
|
||||
|
@ -9,7 +9,7 @@ The physical computer running a hypervisor.
|
||||
host list
|
||||
---------
|
||||
|
||||
List all hosts
|
||||
List hosts
|
||||
|
||||
.. program:: host list
|
||||
.. code:: bash
|
||||
@ -24,7 +24,7 @@ List all hosts
|
||||
host set
|
||||
--------
|
||||
|
||||
Set host command
|
||||
Set host properties
|
||||
|
||||
.. program:: host set
|
||||
.. code:: bash
|
||||
|
@ -29,7 +29,7 @@ LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class CreateAgent(command.ShowOne):
|
||||
"""Create compute agent command"""
|
||||
"""Create compute agent"""
|
||||
|
||||
def get_parser(self, prog_name):
|
||||
parser = super(CreateAgent, self).get_parser(prog_name)
|
||||
@ -112,7 +112,7 @@ class DeleteAgent(command.Command):
|
||||
|
||||
|
||||
class ListAgent(command.Lister):
|
||||
"""List compute agent command"""
|
||||
"""List compute agents"""
|
||||
|
||||
def get_parser(self, prog_name):
|
||||
parser = super(ListAgent, self).get_parser(prog_name)
|
||||
@ -142,7 +142,7 @@ class ListAgent(command.Lister):
|
||||
|
||||
|
||||
class SetAgent(command.Command):
|
||||
"""Set compute agent command"""
|
||||
"""Set compute agent properties"""
|
||||
|
||||
def get_parser(self, prog_name):
|
||||
parser = super(SetAgent, self).get_parser(prog_name)
|
||||
|
@ -22,7 +22,7 @@ from openstackclient.i18n import _
|
||||
|
||||
|
||||
class ListHost(command.Lister):
|
||||
"""List host command"""
|
||||
"""List hosts"""
|
||||
|
||||
def get_parser(self, prog_name):
|
||||
parser = super(ListHost, self).get_parser(prog_name)
|
||||
@ -107,7 +107,7 @@ class SetHost(command.Command):
|
||||
|
||||
|
||||
class ShowHost(command.Lister):
|
||||
"""Show host command"""
|
||||
"""Display host details"""
|
||||
|
||||
def get_parser(self, prog_name):
|
||||
parser = super(ShowHost, self).get_parser(prog_name)
|
||||
|
@ -29,7 +29,7 @@ LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class DeleteService(command.Command):
|
||||
"""Delete service command"""
|
||||
"""Delete compute service(s)"""
|
||||
|
||||
def get_parser(self, prog_name):
|
||||
parser = super(DeleteService, self).get_parser(prog_name)
|
||||
@ -47,7 +47,7 @@ class DeleteService(command.Command):
|
||||
|
||||
|
||||
class ListService(command.Lister):
|
||||
"""List service command"""
|
||||
"""List compute services"""
|
||||
|
||||
def get_parser(self, prog_name):
|
||||
parser = super(ListService, self).get_parser(prog_name)
|
||||
@ -101,7 +101,7 @@ class ListService(command.Lister):
|
||||
|
||||
|
||||
class SetService(command.Command):
|
||||
"""Set service command"""
|
||||
"""Set compute service properties"""
|
||||
|
||||
def get_parser(self, prog_name):
|
||||
parser = super(SetService, self).get_parser(prog_name)
|
||||
|
Loading…
Reference in New Issue
Block a user