summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/source/command-objects/compute-service.rst10
-rw-r--r--openstackclient/compute/v2/service.py4
2 files changed, 7 insertions, 7 deletions
diff --git a/doc/source/command-objects/compute-service.rst b/doc/source/command-objects/compute-service.rst
index aefe55db..db75bef4 100644
--- a/doc/source/command-objects/compute-service.rst
+++ b/doc/source/command-objects/compute-service.rst
@@ -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
diff --git a/openstackclient/compute/v2/service.py b/openstackclient/compute/v2/service.py
index 89f5cad9..68037c94 100644
--- a/openstackclient/compute/v2/service.py
+++ b/openstackclient/compute/v2/service.py
@@ -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",