Skip to content

Commit 63c57eb

Browse files
committed
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
1 parent 9e7f0cf commit 63c57eb

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

doc/source/command-objects/compute-service.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ List service command
3434
[--long]
3535
3636
.. _compute-service-list:
37-
.. describe:: --host <host>
37+
.. option:: --host <host>
3838

39-
Name of host
39+
List services on specified host (name only)
4040

41-
.. describe:: --service <service>
41+
.. option:: --service <service>
4242

43-
Name of service
43+
List only specified service (name only)
4444

45-
.. describe:: --long
45+
.. option:: --long
4646

4747
List additional fields in output
4848

openstackclient/compute/v2/service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ def get_parser(self, prog_name):
4444
parser.add_argument(
4545
"--host",
4646
metavar="<host>",
47-
help="Name of host")
47+
help="List services on specified host (name only)")
4848
parser.add_argument(
4949
"--service",
5050
metavar="<service>",
51-
help="Name of service")
51+
help="List only specified service (name only)")
5252
parser.add_argument(
5353
"--long",
5454
action="store_true",

0 commit comments

Comments
 (0)