summaryrefslogtreecommitdiff
path: root/glanceclient/v1
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-04-18 10:00:59 +0000
committerGerrit Code Review <review@openstack.org>2015-04-18 10:00:59 +0000
commit825c4a5df2e32a2d7c1665f0924cc5b9fa675673 (patch)
tree9413ef17381ad7768a3fea5434e394ee0e1f6498 /glanceclient/v1
parent8b4456a220fb8807d6eae59655dbef8bfa26fc58 (diff)
parent6d864ef65c73905370fe9c817fb81b262714bd2d (diff)
downloadpython-glanceclient-825c4a5df2e32a2d7c1665f0924cc5b9fa675673.tar.gz
Merge "Correct help messages for image-update command"0.18.0
Diffstat (limited to 'glanceclient/v1')
-rw-r--r--glanceclient/v1/shell.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/glanceclient/v1/shell.py b/glanceclient/v1/shell.py
index bc689da..e0a373a 100644
--- a/glanceclient/v1/shell.py
+++ b/glanceclient/v1/shell.py
@@ -277,7 +277,8 @@ def _is_image_data_provided(args):
'example, if the image data is stored in swift, you could '
'specify \'swift+http://tenant%%3Aaccount:key@auth_url/'
'v2.0/container/obj\'. '
- '(Note: \'%%3A\' is \':\' URL encoded.)'))
+ '(Note: \'%%3A\' is \':\' URL encoded.) '
+ 'This option only works for images in \'queued\' status.'))
@utils.arg('--file', metavar='<FILE>',
help=('Local file that contains disk image to be uploaded during'
' update. Alternatively, images can be passed to the client'
@@ -287,7 +288,8 @@ def _is_image_data_provided(args):
@utils.arg('--copy-from', metavar='<IMAGE_URL>',
help=('Similar to \'--location\' in usage, but this indicates that'
' the Glance server should immediately copy the data and'
- ' store it in its configured image store.'))
+ ' store it in its configured image store.'
+ ' This option only works for images in \'queued\' status.'))
@utils.arg('--is-public',
type=_bool_strict, metavar='{True,False}',
help='Make image accessible to the public.')