summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate Potter <nathaniel.potter@intel.com>2015-11-06 21:48:19 +0000
committerNate Potter <nathaniel.potter@intel.com>2015-11-06 21:56:10 +0000
commit1a3dbfaabb13b62b15b28febb08ed7d7218b8f4c (patch)
tree71f26dbc5b0c249b967557e4818b8a8538dab062
parentcb08ce33eb74cb95702081846280a194823d86ae (diff)
downloadpython-cinderclient-1a3dbfaabb13b62b15b28febb08ed7d7218b8f4c.tar.gz
Update help message for cinder migrate
As per the doc bug https://bugs.launchpad.net/openstack-manuals/+bug/1363830 documentation for the cinder CLI should be updated to reflect that the host needs to be given in the form host@backend#pool, and the docs for the cli-reference are auto-generated from the client. Change-Id: I66d41e05436782c3acd24f9633c4b67ca5c56b15
-rw-r--r--cinderclient/v2/shell.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cinderclient/v2/shell.py b/cinderclient/v2/shell.py
index 9b2ac88..893d4aa 100644
--- a/cinderclient/v2/shell.py
+++ b/cinderclient/v2/shell.py
@@ -1189,7 +1189,8 @@ def do_upload_to_image(cs, args):
@utils.arg('volume', metavar='<volume>', help='ID of volume to migrate.')
-@utils.arg('host', metavar='<host>', help='Destination host.')
+@utils.arg('host', metavar='<host>', help='Destination host. Takes the form: '
+ 'host@backend-name#pool')
@utils.arg('--force-host-copy', metavar='<True|False>',
choices=['True', 'False'],
required=False,