diff --git a/doc/source/command-objects/compute-service.rst b/doc/source/command-objects/compute-service.rst index aefe55db7a..db75bef426 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 89f5cad94f..68037c9445 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",