Merge "docs: clarify compute service --service option"
This commit is contained in:
commit
afe1f02c8b
@ -39,7 +39,8 @@ List compute services
|
|||||||
|
|
||||||
.. option:: --service <service>
|
.. option:: --service <service>
|
||||||
|
|
||||||
List only specified service (name only)
|
List only specified service binaries (name only). For example,
|
||||||
|
``nova-compute``, ``nova-conductor``, etc.
|
||||||
|
|
||||||
.. option:: --long
|
.. option:: --long
|
||||||
|
|
||||||
@ -86,4 +87,4 @@ Set compute service properties
|
|||||||
|
|
||||||
.. describe:: <service>
|
.. describe:: <service>
|
||||||
|
|
||||||
Name of service (Binary name)
|
Name of service (Binary name), for example ``nova-compute``
|
||||||
|
@ -72,7 +72,8 @@ class ListService(command.Lister):
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--service",
|
"--service",
|
||||||
metavar="<service>",
|
metavar="<service>",
|
||||||
help=_("List only specified service (name only)")
|
help=_("List only specified service binaries (name only). For "
|
||||||
|
"example, ``nova-compute``, ``nova-conductor``, etc.")
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--long",
|
"--long",
|
||||||
@ -126,7 +127,8 @@ class SetService(command.Command):
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"service",
|
"service",
|
||||||
metavar="<service>",
|
metavar="<service>",
|
||||||
help=_("Name of service (Binary name)")
|
help=_("Name of service (Binary name), for example "
|
||||||
|
"``nova-compute``")
|
||||||
)
|
)
|
||||||
enabled_group = parser.add_mutually_exclusive_group()
|
enabled_group = parser.add_mutually_exclusive_group()
|
||||||
enabled_group.add_argument(
|
enabled_group.add_argument(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user