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:
Sheel Rana 2016-03-30 13:23:37 +05:30
parent 9e7f0cf1a5
commit 63c57eb56e
2 changed files with 7 additions and 7 deletions
doc/source/command-objects
openstackclient/compute/v2

@ -34,15 +34,15 @@ List service command
[--long]
.. _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

@ -44,11 +44,11 @@ class ListService(command.Lister):
parser.add_argument(
"--host",
metavar="<host>",
help="Name of host")
help="List services on specified host (name only)")
parser.add_argument(
"--service",
metavar="<service>",
help="Name of service")
help="List only specified service (name only)")
parser.add_argument(
"--long",
action="store_true",