Improving the help of the lock command.

The lock command allows you to block the actions
on the server for the non-admin users. Improving
the help so that api users understands better
what locking a server implies.

Change-Id: I925c946751602dc0f6bd1d31b514bc20bca585fa
Closes-Bug: #1366279
This commit is contained in:
Pedro Navarro 2015-01-19 21:50:21 +01:00 committed by lin-hua-cheng
parent 95fe3fda3d
commit ee062922d1
2 changed files with 3 additions and 2 deletions

View File

@ -225,7 +225,7 @@ List servers
server lock
-----------
Lock server
Lock a server. A non-admin user will not be able to execute actions
.. program:: server lock
.. code:: bash

View File

@ -659,7 +659,8 @@ class ListServer(lister.Lister):
class LockServer(command.Command):
"""Lock server"""
"""Lock a server. A non-admin user will not be able to execute actions"""
log = logging.getLogger(__name__ + '.LockServer')