summaryrefslogtreecommitdiff
path: root/doc/source/command-objects/compute-service.rst
diff options
context:
space:
mode:
authorzhiyong.dai <zhiyong.dai@easystack.cn>2016-12-19 17:23:35 +0800
committerzhiyong.dai <zhiyong.dai@easystack.cn>2017-01-03 12:13:10 +0800
commit75f2875a6e2be5c7fef56ebc1f3c235aa5ae1521 (patch)
treeeafb583417e545e89f19ef1155780db8ece33195 /doc/source/command-objects/compute-service.rst
parent5d62981beb28f81ddd376466f296fc40b6b7eb8d (diff)
downloadpython-openstackclient-75f2875a6e2be5c7fef56ebc1f3c235aa5ae1521.tar.gz
Add ":option:` `" in the help message
This patch mainly adds ":option:` `" in several help messages in the doc. This modification will create one link which helps the readers find the relative option quickly and conveniently in website. Change-Id: Ia047e15c3b2064e4822ee7df7922d4774d862602
Diffstat (limited to 'doc/source/command-objects/compute-service.rst')
-rw-r--r--doc/source/command-objects/compute-service.rst9
1 files changed, 3 insertions, 6 deletions
diff --git a/doc/source/command-objects/compute-service.rst b/doc/source/command-objects/compute-service.rst
index 66347214..ba624ea0 100644
--- a/doc/source/command-objects/compute-service.rst
+++ b/doc/source/command-objects/compute-service.rst
@@ -15,7 +15,7 @@ Delete compute service(s)
openstack compute service delete
<service> [<service> ...]
-.. _compute-service-delete:
+.. _compute_service_delete-service:
.. describe:: <service>
Compute service(s) to delete (ID only)
@@ -33,7 +33,6 @@ List compute services
[--service <service>]
[--long]
-.. _compute-service-list:
.. option:: --host <host>
List services on specified host (name only)
@@ -46,7 +45,6 @@ List compute services
List additional fields in output
-
compute service set
-------------------
@@ -61,7 +59,6 @@ Set compute service properties
[--up | --down]
<host> <service>
-.. _compute-service-set:
.. option:: --enable
Enable service
@@ -72,7 +69,7 @@ Set compute service properties
.. option:: --disable-reason <reason>
- Reason for disabling the service (in quotes). Should be used with --disable option.
+ Reason for disabling the service (in quotes). Should be used with :option:`--disable` option.
.. option:: --up
@@ -82,6 +79,7 @@ Set compute service properties
Force down service
+.. _compute_service_set-host:
.. describe:: <host>
Name of host
@@ -89,4 +87,3 @@ Set compute service properties
.. describe:: <service>
Name of service (Binary name)
-