From 4d3f996e7ce5385688f6e570b8ac73327bac9f44 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Mon, 14 Mar 2016 16:53:51 +0800 Subject: Log hint when --enable present with --disable-reason --enable and --disable-reason should be mutually exclusive in "compute service set" command, but now when they are present at the same time, --disable-reason would be ignored silently. Fix these and add some hints about --disable-reason argument is ignored in this situation. Change-Id: I43254b6bc40fcae4fd0dc3457f26fad84c267072 Closes-Bug: #1556801 --- doc/source/command-objects/compute-service.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc/source/command-objects') diff --git a/doc/source/command-objects/compute-service.rst b/doc/source/command-objects/compute-service.rst index db75bef4..bda64c81 100644 --- a/doc/source/command-objects/compute-service.rst +++ b/doc/source/command-objects/compute-service.rst @@ -36,7 +36,7 @@ List service command .. _compute-service-list: .. option:: --host - List services on specified host (name only) + List services on specified host (name only) .. option:: --service @@ -71,7 +71,8 @@ Set service command .. option:: --disable-reason - Reason for disabling the service (in quotes) + Reason for disabling the service (in quotes). Note that when the service + is enabled, this option is ignored. .. describe:: -- cgit v1.2.1