Wrong param type in compute-service.rst
compute-service.rst file uses 'describe' for below optional parameters 1. --long 2. --service <service> 3. --host <host> This patchset changes type of these argument to option. Change-Id: Ifd57bdf058efaeaa6cb43a7d4a60ee61ddb8de14 Closes-bug:#1563700
This commit is contained in:
parent
9e7f0cf1a5
commit
63c57eb56e
@ -34,15 +34,15 @@ List service command
|
|||||||
[--long]
|
[--long]
|
||||||
|
|
||||||
.. _compute-service-list:
|
.. _compute-service-list:
|
||||||
.. describe:: --host <host>
|
.. option:: --host <host>
|
||||||
|
|
||||||
Name of host
|
List services on specified host (name only)
|
||||||
|
|
||||||
.. describe:: --service <service>
|
.. option:: --service <service>
|
||||||
|
|
||||||
Name of service
|
List only specified service (name only)
|
||||||
|
|
||||||
.. describe:: --long
|
.. option:: --long
|
||||||
|
|
||||||
List additional fields in output
|
List additional fields in output
|
||||||
|
|
||||||
|
@ -44,11 +44,11 @@ class ListService(command.Lister):
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--host",
|
"--host",
|
||||||
metavar="<host>",
|
metavar="<host>",
|
||||||
help="Name of host")
|
help="List services on specified host (name only)")
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--service",
|
"--service",
|
||||||
metavar="<service>",
|
metavar="<service>",
|
||||||
help="Name of service")
|
help="List only specified service (name only)")
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--long",
|
"--long",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user